|
Hi!
Could you tell me how to set the cookie which will expire after 1h from current time ? It seems to be simple but I was failed with the following PHP code:
setcookie("cookie", "lien", time()+3600, "/","",0).
(my server didnt send any cookie to browser)
But its OK (my server did send th cookie to browser) if I replace with:
setcookie("cookie", "lien", 3600, "/","",0).
I wonder whats the meaning of the third argument of setcookie(),
is it 3600 seconds or 3600 minuts from current time or what ?
Ive read many books about it, but not yet found out ?
Please help me ! Im using PHP 4.0.1p12, apache, Linux7
|