[thelist] header ("Location ...

Geoffrey Sneddon foolistbar at googlemail.com
Sat Feb 17 11:03:37 CST 2007

On 17 Feb 2007, at 00:19, Bob Meetin wrote:

> I have a workaround.  I can do a chdir to get to the directory  
> where the
> script.php file lives, then:
> chdir ("/home/whatever/www");
> header ("Location: script.php");
> This works, but I am really curious what might be different in  
> settings
> that cause the failure.  -Bob

The Location message header MUST be an absolute URI. That header is  
invalid. Safari, to my knowledge, is the only browser that requires  
it to be absolute.

- Geoffrey Sneddon

More information about the thelist mailing list