note 86153 deleted from function.get-headers by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.