|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-04-13 18:56 UTC] shiflett@php.net
[2002-05-14 00:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 29 17:00:01 2025 UTC |
I use string setcookie('some_c_name','user', $var); PHP 4.4.1 $var | exp date IE 5.5 9600 -> Jan 01 2070 02:40:00 3600 -> Jan 01 2070 01:00:00 1 -> Jan 01 2070 00:00:01 time()+(60 * 60 * 24 * 30) -> Cant see this cook NC 9600 -> Jan 01 02:00:01 1970 3600 -> Jan 01 02:00:01 1970 1 -> Jan 01 02:00:01 1970 time()+(60 * 60 * 24 * 30) -> Apr 28 17:42:00 2002 I am used the test (http://www.chipchapin.com/WebTools/cookietest.php) PHP 4.1.1 Method 1: OK Method 2: Fail Method 3: Fail Method 4: OK Method 5: Fail Method 6: OK Method 7: Fail Method 8: OK Method 9: OK Method 10: Fail Method 11: Fail Method 12: Fail Method 13: Fail PHP 4.0.6 Method 1: OK Method 2: OK Method 3: OK Method 4: OK Method 5: OK Method 6: OK Method 7: OK Method 8: OK Method 9: OK Method 10: OK Method 11: OK Method 12: Fail Method 13: OK