note 79474 deleted from function.header by tularis
| From: | tularis@php.net | Date: | Thu, 29 Nov 2007 09:10:48 +0000 |
| Subject: | note 79474 deleted from function.header by tularis | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132654@lists.php.net to get a copy of this message | ||
Note Submitter: danielpunt [at] gmail [dot] com
Reason: in docs
----
I noticed the following thing in Firefox 2:
When I set the header to this:
<?php header('HTTP/1.0 404 Not Found'); ?>
that the header status still was 200 Ok.
But when I set the second parameter 'replace' to true the right header is sent to the
browser
<?php header('HTTP/1.0 404 Not Found', true); ?>