note 86125 deleted from function.header by danbrown

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: Tobias 

----

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.
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.