Hi everyone,
I am using a php cookie
from tizag.com. I would like to change it so that if the user does not have the cookie set they are redirected to a different page.PHP Code:<?php
if(isset($_COOKIE['lastVisit']))
$visit = $_COOKIE['lastVisit'];
else
echo "You've got some stale cookies!";
echo "Your name is ". $visit;
?>
Any help is appreciated



Reply With Quote

Bookmarks