Bug #14389 Updated: cookies problem
ID: 14389 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: NT4 PHP Version: 4.1.1 New Comment: Same here, with IIS 5.0 under W2K. Cant't use setcookie() and header() together. Using echo META HTTP-EQUIV=\Refresh\ CONTENT=\0;URL=page3.php\ instead of header() solves the problem. Previous Comments: [2002-04-26 14:35:38] [EMAIL PROTECTED] I'm using PHP 4.2.0 with Apache 1.3.24 under NT 4 SP6. I have exactly the same problem. I have reported this bug a while ago and nothing happend. [2002-04-22 11:52:21] [EMAIL PROTECTED] I'm using PHP 4.11 with Apache under NT 4 SP5. I have exactly the same problem. Note : When I use Apache + PHP 411 under WIN98, all working fine. [2002-01-08 05:44:28] [EMAIL PROTECTED] yes i do [2002-01-08 05:24:56] [EMAIL PROTECTED] yes i do [2002-01-08 02:56:38] [EMAIL PROTECTED] Do you still have this problem with PHP 4.1.1? 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/14389 -- Edit this bug report at http://bugs.php.net/?id=14389edit=1
Bug #14389 Updated: cookies problem
ID: 14389 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: IIS related Operating System: NT4 PHP Version: 4.1.1 New Comment: I'm using PHP 4.2.0 with Apache 1.3.24 under NT 4 SP6. I have exactly the same problem. I have reported this bug a while ago and nothing happend. Previous Comments: [2002-04-22 11:52:21] [EMAIL PROTECTED] I'm using PHP 4.11 with Apache under NT 4 SP5. I have exactly the same problem. Note : When I use Apache + PHP 411 under WIN98, all working fine. [2002-01-08 05:44:28] [EMAIL PROTECTED] yes i do [2002-01-08 05:24:56] [EMAIL PROTECTED] yes i do [2002-01-08 02:56:38] [EMAIL PROTECTED] Do you still have this problem with PHP 4.1.1? [2001-12-09 05:00:16] [EMAIL PROTECTED] I'm using this code in 3 pages in Page 1: form name=frm1 method=post input type=password size=20input type=submit /form in page2: if ($password == mypassword) { setcookie(user, admin); header(location: page3.php); } in page3: echo $HTTP_COOKIE_VARS[user]; i'm using NT4 with iis4. My problem is that the cookie is not set, instead of header(location: page3.php) i used this echo META HTTP-EQUIV=\Refresh\ CONTENT=\0;URL=page3.php\; and then i could get cookie value! this problem is only under iis4/iis5 under apache (not windows only unix) i didn't have any problems -- Edit this bug report at http://bugs.php.net/?id=14389edit=1