note 86125 added to function.header

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Beware of the comments about header( "location:..." ). Some comments recommend to redirect to relative paths, but the RFC clearly states:
--quote--
For 3xx responses, the location SHOULD indicate the  server's preferred URI for automatic redirection to the resource. The field value consists of a single absolute URI.
--/quote--

So "location:/example.php" ist wrong, but "location:http://www.example.com/example.php" is correct.
----
Server IP: 212.124.37.9
Probable Submitter: 82.82.39.211
----
Manual Page -- http://www.php.net/manual/en/function.header.php
Edit        -- https://master.php.net/note/edit/86125
Del: integrated  -- https://master.php.net/note/delete/86125/integrated
Del: useless     -- https://master.php.net/note/delete/86125/useless
Del: bad code    -- https://master.php.net/note/delete/86125/bad+code
Del: spam        -- https://master.php.net/note/delete/86125/spam
Del: non-english -- https://master.php.net/note/delete/86125/non-english
Del: in docs     -- https://master.php.net/note/delete/86125/in+docs
Del: other reasons-- https://master.php.net/note/delete/86125
Reject      -- https://master.php.net/note/reject/86125
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.