note 29354 deleted from function.header by nicos

From: Date: Fri, 04 Jul 2003 11:45:51 +0000
Subject: note 29354 deleted from function.header by nicos
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-51504@lists.php.net to get a copy of this message
Note Submitter: mikezivin@yahoo.com ---- If you're looking to send back a header with a different status code, then the proper syntax is: header("Location: HTTP/1.0 404"); The documentation is wrong. It says to do: header("HTTP/1.0 404 Not Found"); THIS WILL NOT WORK! I tested it in both IE and Netscape and that header is never picked up by the browser.

« previous php.notes (#51504) next »