note 96934 added to function.header

From: Date: Tue, 23 Mar 2010 21:41:55 +0000
Subject: note 96934 added to function.header
Groups: php.notes 
Request: Send a blank email to php-notes+get-167333@lists.php.net to get a copy of this message
Also note, if you add a header line in addition to supply a status code in the same call, it will do both. Example: <?php header('WWW-Authenticate: Basic realm="My Realm"',true,401); ?> Will output both: HTTP/1.1 401 Unauthorized WWW-Authenticate: Basic realm="My Realm" ---- Server IP: 69.147.83.197 Probable Submitter: 172.190.201.128 ---- Manual Page -- http://www.php.net/manual/en/function.header.php Edit -- https://master.php.net/note/edit/96934 Del: integrated -- https://master.php.net/note/delete/96934/integrated Del: useless -- https://master.php.net/note/delete/96934/useless Del: bad code -- https://master.php.net/note/delete/96934/bad+code Del: spam -- https://master.php.net/note/delete/96934/spam Del: non-english -- https://master.php.net/note/delete/96934/non-english Del: in docs -- https://master.php.net/note/delete/96934/in+docs Del: other reasons-- https://master.php.net/note/delete/96934 Reject -- https://master.php.net/note/reject/96934 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#167333) next »