I have a website and I am using php with mysql. I'm using cookies to save the variables. This is the setup I am using and it works.
$username = $username;
setcookie("username",$username, time()+3600,"/",".mysite.com", 0);
My question is this. At the end of the cookie setup is the numeral "0". I've seen setups that end with the numeral "1" instead. What is the difference and when should I use one vs the other?
Thanks