On Monday 22 April 2002 10:46, Joe wrote:
> I am using header function to redirect browser.
>
> {  header("Location: http://www.XXX.edu/index.php";);
>   exit;}
>
> Although it can redirect the browser but variable had not pass to next
> page.
>
> So can anyone teach me how to pass variable and redirect browser at same
> time?

The easiest way is to pass the variables along with the url:

  header("Location: http://www.XXX.edu/index.php?var1=doo&var2=dah";

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
May you have many beautiful and obedient daughters.
*/

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

Reply via email to