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 PRO
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 fun
:21 PM
> To: [EMAIL PROTECTED]
> 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
&
location = "hello-world.htm";
can be used even if header is already sent!
-elias
www.eassoft.cjb.net
"Jamie Saunders" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi,
>
> Is there a PHP function that will redirect the current page to another
url?
>
> e
http://www.somewhere.com/index.php";);
exit;
?>
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
> Hi,
>
> Is there a PHP function that will redirect the current page to another
url?
--
PHP General Mailing List (http://www.php.net/)
T
On Monday 07 May 2001 20:04, elias wrote:
>
> location = "hello-world.htm";
>
>
> can be used even if header is already sent!
But only works if (a) the browser supports Javascript, (b) supports this
JS construct and (c) has Javascript enabled.
--
Christian Reiniger
LGDC Webmaster (http://sun
6 matches
Mail list logo