Bug #66080 [Opn->Fbk]: setcookie isn't setting cookie

From: Date: Tue, 12 Nov 2013 02:37:34 +0000
Subject: Bug #66080 [Opn->Fbk]: setcookie isn't setting cookie
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-182713@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66080&edit=1 ID: 66080 Updated by: requinix@php.net Reported by: rf14racingfan14 at gmail dot com Summary: setcookie isn't setting cookie -Status: Open +Status: Feedback Type: Bug Package: Apache2 related Operating System: Windows PHP Version: 5.5.5 Block user comment: N Private report: N New Comment: Find your php.ini and set error_reporting = -1 display_errors = on Restart Apache and use phpinfo() to confirm the new values. Then try your code. Any errors or warnings? Previous Comments: ------------------------------------------------------------------------ [2013-11-12 01:56:01] rf14racingfan14 at gmail dot com 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 this bug report at https://bugs.php.net/bug.php?id=66080&edit=1

« previous php.bugs (#182713) next »