ID: 20923 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: HTTP related Operating System: Windows XP PHP Version: 4.2.3 New Comment:
Yes, this was some bug which now seems to be fixed in 4.3.0-dev (as I can not reproduce this) I stumbled into one other bug here, #20887, that's why I got confused, sorry about that. Previous Comments: ------------------------------------------------------------------------ [2002-12-11 01:25:12] [EMAIL PROTECTED] You have gotta be kidding me sniper, haven't you been paying attention? Output buffering is enabled. And if it weren't, Tres and Quatro would NEVER be set, and I'd get an HTTP HEADER error printed out on the page. ------------------------------------------------------------------------ [2002-12-11 01:06:40] [EMAIL PROTECTED] RTFM: "setcookie() defines a cookie to be sent along with the rest of the HTTP headers. Like other headers, cookies must be sent before any output from your script (this is a protocol restriction)." ------------------------------------------------------------------------ [2002-12-10 21:36:21] [EMAIL PROTECTED] I beleive the problem is in the PHP.INI file, I retardedly copied over the suggested ini file that came with php 4.2.3 as soon as i installed it, and no longer have my old ini file. I just downgraded to php 4.1.2 and I'm having similar problems! Though the before-mentioned php script actually only sends the client one cookie per execution in my current setup. Additionally, my other scripts do not work under the current ini file even while using php 4.1.2. I don't know if this information will actually help, but I suspect it should narrow it down at least a little bit. ------------------------------------------------------------------------ [2002-12-10 20:27:45] [EMAIL PROTECTED] Using the CVS version Sniper asked me to use, NONE of the cookies were set using the before-mentioned script. ------------------------------------------------------------------------ [2002-12-10 17:13:55] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/20923 -- Edit this bug report at http://bugs.php.net/?id=20923&edit=1