On 14 October 2003 20:11, Chris Hubbard contributed these pearls of wisdom:
All,
I have done a number of searches.
I have read the online documentation and user supplied
comments.
I recently ran into problem using:
-some code here to create session and set variables-
header('Location:
--- Chris Hubbard [EMAIL PROTECTED] wrote:
header('Location: index.php');
The Location header requires an absolute URL. This example demonstrates a
violation of the specification and can have unknown results.
Chris
=
My Blog
http://shiflett.org/
HTTP Developer's Handbook
In this example, index.php would be a violation i think. however you
don't need to provide an absolute URL, you could provide / or ever
/index.php
I say this because the header specifying the Host had already been sent.
so you could do Location: Host + Relative_URL or Location: Relative_URL
--- Matt Babineau [EMAIL PROTECTED] wrote:
In this example, index.php would be a violation i think. however you
don't need to provide an absolute URL, you could provide / or ever
/index.php
I say this because the header specifying the Host had already been sent.
In HTTP/1.1, the Host header
4 matches
Mail list logo