note 79474 added to function.header

From: Date: Thu, 29 Nov 2007 09:04:23 +0000
Subject: note 79474 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-132651@lists.php.net to get a copy of this message
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); ?> ---- Server IP: 213.249.64.162 Probable Submitter: 213.148.227.14 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/79474 Del: integrated -- https://master.php.net/note/delete/79474/integrated Del: useless -- https://master.php.net/note/delete/79474/useless Del: bad code -- https://master.php.net/note/delete/79474/bad+code Del: spam -- https://master.php.net/note/delete/79474/spam Del: non-english -- https://master.php.net/note/delete/79474/non-english Del: in docs -- https://master.php.net/note/delete/79474/in+docs Del: other reasons-- https://master.php.net/note/delete/79474 Reject -- https://master.php.net/note/reject/79474 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#132651) next »