ID:               33322
 Updated by:       [EMAIL PROTECTED]
 Reported By:      j-pieper at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         *General Issues
 Operating System: Fedora Project C3
 PHP Version:      5.0.4
 New Comment:

Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

Reload the page after setting the cookie and accept 
cookies in your browser. 


Previous Comments:
------------------------------------------------------------------------

[2005-06-13 15:37:12] j-pieper at web dot de

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) { }


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=33322&edit=1

Reply via email to