|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-13 15:43 UTC] johannes@php.net
[2005-06-13 20:39 UTC] j-pieper at web dot de
[2005-06-13 21:24 UTC] j-pieper at web dot de
[2005-06-13 23:03 UTC] sniper@php.net
[2005-06-16 18:13 UTC] j-pieper at web dot de
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Dec 03 15:00:01 2025 UTC |
Description: ------------ I can?t set a cookie in my application. I created a small file with only setting a cookie and controlling the content of $_COOKIE but there is nothing. I also get no error-message. Reproduce code: --------------- <?php error_reporting(E_ALL); setcookie('foo', 'bar', time()+86400); var_dump($_COOKIE); ?> Expected result: ---------------- Somthing like this: array(1) { ["foo"]=> string(3) "bar" } Actual result: -------------- array(0) { }