header( 'Location: rediret_me_here.php');

- Markus
----- Original Message -----
From: "Jamie Saunders" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 07, 2001 12:20 AM
Subject: [PHP] URL redirection


>
> Hi,
>
> Is there a PHP function that will redirect the current page to another
url?
>
> e.g.
>
>          if ($varTwo == $varOne) {
>
>                  URL redirection code
>
>                  } else {
>
>                          echo "You stay right where you are!";
> }
>
> Thanks.
>
>
> Jamie Saunders
> Mail: [EMAIL PROTECTED]
> Web: http://jamie-s.co.uk
>
>
> --
> 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