Re: page redirecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, August 13, 2006 6:49 pm, Gerry D wrote:
> On 6/28/06, Richard Lynch <ceo@xxxxxxxxx> wrote:
>> On Wed, June 28, 2006 5:17 am, kristianto adi widiatmoko wrote:
>> > i need to redirecting page, it could be done by using header
>> function
>> > like this
>> >
>> > header("Location : page2.php?var1=foo");
>>
>> Then, the URL should be a full, complete URL, and not just a local
>> reference.
>
> Sure you can use a local page, I do it all the time.

Allow me to re-phrase:

The HTTP RFC Specs require that a Location: be a full complete URL
starting with http://

It might "work" in all the browsers you have tested so far, but that
does not make it right... :-)

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux