Posted by Andy Hassall on 07/21/07 14:24
On Sat, 21 Jul 2007 09:30:30 -0400, bill <nobody@spamcop.net> wrote:
>Michael Fesser wrote:
>> .oO(Jeff North)
>>
>>> instead of echoing the number you would use
>>> if( $num_rows == 1 )
>>> header("location: pag2.php");
>>
>> header("Location: http://{$_SERVER['HTTP_HOST']}/pag2.php");
>>
>> The URL must be absolute.
>
>why ?
HTTP/1.1 section 14.30.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.30
--
Andy Hassall :: andy@andyh.co.uk :: http://www.andyh.co.uk
http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool
[Back to original message]
|