From: phoenixheart at gmail dot com Operating system: RedHat Linux PHP version: 4.4.0 PHP Bug Type: Session related Bug description: Cookie doesnot work
Description: ------------ setcookie() doesnot function on several machines if 3rd parameter is presented; Reproduce code: --------------- setcookie("myCookie","myValue",time() + 3600); Expected result: ---------------- A cookie named "myCookie" should be created. Actual result: -------------- No cookie with name "myCookie" was created. If 3rd param (time() + 3600 or other variable) was presented, then th eabove snip of code does work well. -- Edit bug report at http://bugs.php.net/?id=33862&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33862&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33862&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33862&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33862&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33862&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33862&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33862&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33862&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33862&r=support Expected behavior: http://bugs.php.net/fix.php?id=33862&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33862&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33862&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33862&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33862&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33862&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33862&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33862&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33862&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33862&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33862&r=mysqlcfg