Re: page redirecting
| From: | Richard Lynch | Date: | Tue, 15 Aug 2006 00:19:43 +0000 |
| Subject: | Re: page redirecting | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-240670@lists.php.net to get a copy of this message | ||
On Sun, August 13, 2006 6:49 pm, Gerry D wrote:
> On 6/28/06, Richard Lynch <ceo@l-i-e.com> 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