Home  |  Linux  | Mysql  | PHP  | XML
From:danbrown@php.net Date:Mon Oct  6 11:13:05 2008
Subject:note 86152 deleted from function.get-headers by danbrown
Note Submitter: Anonymous 

----

Regarding Radon8472's code immediately below; since the response code always appears in the same place (just after the HTTP protocol and version), that's the only place where the response code needs to be looked for. And should be looked for: looking to see if it appears anywhere in any header is going to turn up all sorts of false positives.

Incidentally, 305 and 307 responses should also result in redirects.
Navigate in group php.notes at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants