php中http_response_code(404)与header('HTTP/1.1 404 Not Found')header("status: 404 Not Found")区别?
请问php中http_response_code(404)与header('HTTP/1.1 404 Not Found')header("status: 404 Not Found")区别?
网友回复
php 5.4版本之前404的输出都是通过headerr()方法来实现;
<?php; header('HTTP/1.1 404 Not Foun...
点击查看剩余70%