mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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
This commit is contained in:
parent
6b48891fc7
commit
dd5ac096b3
1 changed files with 1 additions and 1 deletions
|
@ -200,7 +200,7 @@ setcookie ("TestCookie", $value,time()+3600, "/~rasmus/", ".utoronto.ca", 1);
|
|||
<title><function>setcookie</function> delete examples</title>
|
||||
<programlisting role="php">
|
||||
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);
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue