Bug #12540 Updated: setcookie doesn't work!

From: Date: Fri, 03 Aug 2001 13:44:40 +0000
Subject: Bug #12540 Updated: setcookie doesn't work!
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-61954@lists.php.net to get a copy of this message
ID: 12540 Updated by: andy Reported By: blueeye@mail.blueeye.idv.tw Old Status: Open Status: Feedback Bug Type: IIS related Operating System: win2k PHP Version: 4.0.6 New Comment: how about doing this... create a script like this <? setcookie ("test","testing"); echo "wahoo"; ?> then open an MS-DOS prompt, and type php c:\the\path\of\the\script.php look at the HTTP headers, is there a Cookie: header? Previous Comments: ------------------------------------------------------------------------ [2001-08-03 09:41:59] andy@php.net status -> open ------------------------------------------------------------------------ [2001-08-03 09:37:30] blueeye@mail.blueeye.idv.tw I was so surprised that people replied my post so soon. thanks Andy. ( btw, sorry for my poor english.) well. I used your code below and save the output. I put it on http://www.blueeye.idv.tw/info.htm please help me check it. thanks again. I've work with php for over 2 years. but this is my second time used it in IIS. this problem really confuses me. thanks all the zealous man! ------------------------------------------------------------------------ [2001-08-03 08:52:54] andy@php.net never mind, submitted twice. ------------------------------------------------------------------------ [2001-08-03 08:41:50] andy@php.net please include a sample script, or create a script like this one and put it on the internet... <? setcookie("test","testing"); phpinfo(); ?> ------------------------------------------------------------------------ [2001-08-03 00:20:51] blueeye@mail.blueeye.idv.tw I've tried my project on 2 PCs with OS win2k pro and win2k server which run IIS + 4.0.5/4.0.6, but function setcooke() doesn't work! setcooke worked fine on IIS + php 4.0.0 half a year ago. but now I can't use it on IIS + php 4.0.6. may somebody help me test it? thanks a lot. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12540&edit=1

« previous php.dev (#61954) next »