From dd5ac096b3dbdffc1df6c7702159b10ea299e3a3 Mon Sep 17 00:00:00 2001 From: "Jesus M. Castagnetto" Date: Tue, 19 Sep 2000 23:16:33 +0000 Subject: [PATCH] s/minute/hour/ 3600 seconds is an hour, my sense of time was warped when I wrote that comment ;-) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@32866 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/http.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/http.xml b/functions/http.xml index 9dfeef5cab..5bda2861a4 100644 --- a/functions/http.xml +++ b/functions/http.xml @@ -200,7 +200,7 @@ setcookie ("TestCookie", $value,time()+3600, "/~rasmus/", ".utoronto.ca", 1); <function>setcookie</function> delete examples setcookie ("TestCookie"); -// set the expiration date to one minute ago +// set the expiration date to one hour ago setcookie ("TestCookie", "", time() - 3600); setcookie ("TestCookie", "", time() - 3600, "/~rasmus/", ".utoronto.ca", 1);