[PHP] URL redirection

2001-05-06 Thread Jamie Saunders
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

Re: [PHP] URL redirection

2001-05-06 Thread Markus Fischer
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

RE: [PHP] URL redirection

2001-05-06 Thread Tyler Longren
: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 &

Re: [PHP] URL redirection

2001-05-07 Thread elias
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

RE: [PHP] URL redirection

2001-05-07 Thread Matthew Luchak
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

Re: [PHP] URL redirection

2001-05-07 Thread Christian Reiniger
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