#22735 [Opn->Csd]: phpweb/my.php tries to set cookie after headers has been sent
| From: | goba@php.net | Date: | Sun, 16 Mar 2003 10:51:46 +0000 |
| Subject: | #22735 [Opn->Csd]: phpweb/my.php tries to set cookie after headers has been sent | ||
| References: | 1 | Groups: | php.mirrors |
| Request: | Send a blank email to php-mirrors+get-16387@lists.php.net to get a copy of this message | ||
ID: 22735
Updated by: goba@php.net
Reported By: toni dot viemero at iki dot fi
-Status: Open
+Status: Closed
Bug Type: Website problem
Operating System: Windows 2000
PHP Version: 4.3.1
New Comment:
Hehe, it is still in testing, and not public :) But you are right. It
is not an error on php.net, probably it has output buffering on... I
have fixed the bug now.
Previous Comments:
------------------------------------------------------------------------
[2003-03-16 04:47:37] toni dot viemero at iki dot fi
I don't know if this is public yet, just spotted the file exists in
php-mirrors list.
When trying to set default language:
Warning: Cannot add header information - headers already sent by
(output started at /home/toni/www/fi.php.net/include/layout.inc:204) in
/home/toni/www/fi.php.net/my.php on line 12
commonHeader("My PHP.net") is now sent before setcookie(), maybe move
commonHeader() after all cookie stuff.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22735&edit=1