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');
?>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to