You can use,

header ("Location: http://www.php.net";);

and you can pass variable,

header ("Location: http://www.php.net?name1=$value&$name2=$value2";);

Hope this can helps.

Alex Shi


----- Original Message -----
From: "Cam" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 07, 2001 12:22 AM
Subject: [PHP] Redirect Function?!!


> Anyone know of a way to redirect to another page with PHP?  I'm aware of
the
> META tag redirection via the HTTP header, but I really need a more elegant
> solution that redirects immediately without relying on any HTML tags.
> Appreciate the help,
> -C
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to