HTTP- , , . , . , ( ) . HTTP, HTTP-:
Cookie: TestCookie=value\r\n
Content-type: text/javascript\r\n
\r\n
, , , , - 200 OK, ... header :
<?php
header("HTTP/1.0 404 Not Found");
?>
With the PHP header function, just make sure you don't write text before releasing it. Otherwise, you can ruin everything.
source
share