note 91379 deleted from function.header by danbrown

From: Date: Tue, 09 Jun 2009 13:05:07 +0000
Subject: note 91379 deleted from function.header by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-156590@lists.php.net to get a copy of this message
Note Submitter: fgif2 at yahoo dot fr ---- 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. Enjoy: http://gif.phpnet.org/frederic/programs/http_status_codes/

« previous php.notes (#156590) next »