Permanent Cookies
Posted: Fri Jul 25, 2003 9:44 pm
I was wondering how to set a permanent cookie on someone's computer.
I have that, but how do I get it so its not 3600 seconds long, (1 hour), but forever? I deleted +3600 but that did not work, I got an error.
Thanks, -Dani
Code: Select all
<?php
setcookie("mid",$mid,time()+3600,"/",".site.com",0);
?>Thanks, -Dani