note 91446 added to function.header
| From: | fgif2 at yahoo dot fr | Date: | Wed, 10 Jun 2009 11:30:29 +0000 |
| Subject: | note 91446 added to function.header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-156724@lists.php.net to get a copy of this message | ||
For who likes to know all the status codes, and the corresponding phrases, that PHP can generate
when using the $http_response_code param in the header() function, I have made a little script which
tries sequentially all the codes from 100 to 599 and keeps those generating valid results.
This script is enough long to process (using a socket loop connection) then it is executed actually
once a day, but generates a cache file, to be served fast.
Note that here are the codes generated by PHP, not those which can be answered by Apache or any
other server, nor any other 'exotic' status codes specific to some application: http://gif.phpnet.org/frederic/programs/http_status_codes/
----
Server IP: 69.147.83.197
Probable Submitter: 91.139.247.241
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit -- https://master.php.net/note/edit/91446
Del: integrated -- https://master.php.net/note/delete/91446/integrated
Del: useless -- https://master.php.net/note/delete/91446/useless
Del: bad code -- https://master.php.net/note/delete/91446/bad+code
Del: spam -- https://master.php.net/note/delete/91446/spam
Del: non-english -- https://master.php.net/note/delete/91446/non-english
Del: in docs -- https://master.php.net/note/delete/91446/in+docs
Del: other reasons-- https://master.php.net/note/delete/91446
Reject -- https://master.php.net/note/reject/91446
Search -- https://master.php.net/manage/user-notes.php