php to set a cookie code example
Example 1: cookies php syntax
setcookie("cookie_name", "type_on_cookie", expiry_time(), "/");
Example 2: php page sends cookie to visitor
<?php $Month = 2592000 + time();//this adds 30 days to the current timesetcookie(UserVisit, date("F jS - g:i a"), $M