Re: page redirecting

From: Date: Sun, 13 Aug 2006 23:49:39 +0000
Subject: Re: page redirecting
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240607@lists.php.net to get a copy of this message
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.
You could just use session_start() at the top of both pages, and slam the data into $_SESSION, and then your Location: redirect would "work"
Yep. Gerry

« previous php.general (#240607) next »