phpcookies

php cookies

<?php  

$expire=time()+60*60*24*30;

setcookie("visitorname","systemwebtech",$expire);



?>

<!doctype html>
<head><title>PHP Cookies
</title></head>


<body> 

<?php   

$_COOKIE[ "visitorname"];

print_r("$_COOKIE");


?>