From: [EMAIL PROTECTED]
Operating system: Linux 7.2
PHP version: 4.1.1
PHP Bug Type: HTTP related
Bug description: MSIE Cookies problem
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
--
Edit bug report at http://bugs.php.net/?id=16346&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16346&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16346&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16346&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16346&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16346&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16346&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16346&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16346&r=submittedtwice