Bug #66080 [NEW]: setcookie isn't setting cookie
| From: | rf14racingfan14 at gmail dot com | Date: | Tue, 12 Nov 2013 01:56:01 +0000 |
| Subject: | Bug #66080 [NEW]: setcookie isn't setting cookie | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-182712@lists.php.net to get a copy of this message | ||
From: rf14racingfan14 at gmail dot com
Operating system: Windows
PHP version: 5.5.5
Package: Apache2 related
Bug Type: Bug
Bug description:setcookie isn't setting cookie
Description:
------------
setcookie() will not set a cookie. It worked for me in PHP 5.4.7, but
upon upgrading to PHP 5.5.5 the cookie will no longer be set. I tested
in Opera 12, Chromium, Chrome and Opera 15.
NOTE: I filed it under Apache2 as I didn't know what to file it under.
Test script:
---------------
<?php
// Example
setcookie("A", "B");
?>
Expected result:
----------------
The cookie should be set.
Actual result:
--------------
The cookie isn't set.
--
Edit bug report at https://bugs.php.net/bug.php?id=66080&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66080&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66080&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66080&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66080&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66080&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66080&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66080&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66080&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66080&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66080&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66080&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66080&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66080&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66080&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66080&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66080&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66080&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66080&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66080&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66080&r=mysqlcfg