Posted by bill on 07/22/07 23:25
Toby A Inkster wrote:
> bill wrote:
>> Michael Fesser wrote:
>>
>>> header("Location: http://{$_SERVER['HTTP_HOST']}/pag2.php");
>>> The URL must be absolute.
>> why ?
>
> HTTP/1.1 spec says so.
>
> Most browsers do support relative URLs in Location headers, but it's unwise
> to rely on that.
>
Thanks to you both.
[Back to original message]
|