<?php // Set a cookie called "visited" with the value of "yes"... setcookie("visited", date(g).":".date(ia)); ?> <a href="cookie2date.php">next page</a><p>