note 86153 added to function.get-headers

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
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.
----
Server IP: 203.89.181.186
Probable Submitter: 114.134.161.9
----
Manual Page -- http://www.php.net/manual/en/function.get-headers.php
Edit        -- https://master.php.net/note/edit/86153
Del: integrated  -- https://master.php.net/note/delete/86153/integrated
Del: useless     -- https://master.php.net/note/delete/86153/useless
Del: bad code    -- https://master.php.net/note/delete/86153/bad+code
Del: spam        -- https://master.php.net/note/delete/86153/spam
Del: non-english -- https://master.php.net/note/delete/86153/non-english
Del: in docs     -- https://master.php.net/note/delete/86153/in+docs
Del: other reasons-- https://master.php.net/note/delete/86153
Reject      -- https://master.php.net/note/reject/86153
Search      -- https://master.php.net/manage/user-notes.php
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.