Here is the point:
I created a cookie in root/dir/file.php with function setcookie("user",$name,(time() + (3600 24 365 * 10)),"/");
the cookie $user should last for ten years from time() on if I'm right. But..
I created it yesterday, today I want to test my script with cookies again and it didn't work (!$user)..
Questions:
1. Has anyone any idea what is wrong?
2. What if I want to use that cookie in root dir, but the cookie was created in root/dir/?
Thank you for your answers..