Re: In need of a script

From: Date: Sun, 24 Aug 2003 14:04:50 +0000
Subject: Re: In need of a script
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-160580@lists.php.net to get a copy of this message
On Sunday, August 24, 2003 at 9:49 AM Stevie D Peele wrote: > Can someone show me an example of some code that works something like > this : > > <?php > > if cookie is present > redirect to a certain page > > ?> <?php // this must be the first line in the script (or use output buffering) -- see http://www.php.net/header for explanation if ($_COOKIE['cookie_I_want_to_know_about']) { header('Location: http://www.someserver.com/page.php'); ?>

« previous php.general (#160580) next »