Re: URL redirection
| From: | Markus Fischer | Date: | Sun, 06 May 2001 22:25:16 +0000 |
| Subject: | Re: URL redirection | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-51673@lists.php.net to get a copy of this message | ||
header( 'Location: rediret_me_here.php');
- Markus
----- Original Message -----
From: "Jamie Saunders" <webprogramming@jamie-s.co.uk>
To: <php-general@lists.php.net>
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: webprogramming@jamie-s.co.uk
> Web: http://jamie-s.co.uk
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>