#32964 [NEW]: setcookie problem nothing happens

From: Date: Fri, 06 May 2005 14:23:20 +0000
Subject: #32964 [NEW]: setcookie problem nothing happens
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-78709@lists.php.net to get a copy of this message
From: iason dot vandermeulen at gmail dot com Operating system: FreeBSD v 4.11 PHP version: 4.3.10 PHP Bug Type: *Configuration Issues Bug description: setcookie problem nothing happens Description: ------------ Nothing seems to work I included the e_all function no error report nothing. In the browser settings is set value to ask before cookie will be set nothing happens and nog cookie. tryed to find information about this on php.net on forums, nobody seem to have the solution for this problem of mine. I tryed to set a cookie with javascript that worked fine. And i have no clew how to solf this problem. On my own machine this script works fine with php 4.3.4 and ISS Reproduce code: --------------- first tryed this setcookie ("pass","test",time()+3600,"","",1); then this setcookie ("pass", "test",time()+3600,"/","www.myhost.nl"); and final setcookie ("pass", "test",time()+3600,"/","www.myhost.nl",1); Expected result: ---------------- A cookie with the name pass and the value test for 1 hour/ Actual result: -------------- The actual result is nothing no error's or prompt screens. -- Edit bug report at http://bugs.php.net/?id=32964&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32964&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32964&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32964&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32964&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32964&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32964&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32964&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32964&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32964&r=support Expected behavior: http://bugs.php.net/fix.php?id=32964&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32964&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32964&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32964&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32964&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32964&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32964&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32964&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32964&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32964&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32964&r=mysqlcfg

« previous php.bugs (#78709) next »