ID: 12540
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: IIS related
Operating System: win2k
PHP Version: 4.0.6
New Comment:

oh, I read some post in bug reporting. I found my case and  cookie test pages are 
familiar like post #12481. and my 'big' project which want to migrate to IIS is the 
same too.

test page like this
1) test1.php
<? setcookie('test1', 'teststring');
   header('location: test2.php');
   exit;
?>
2) test2.php
<? echo "test2 = $test2"; ?>



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

[2001-08-03 10:15:05] [EMAIL PROTECTED]

yes, I can see set-cookie statment in html header.
(it seems reasonable)
but no cookie saved. (I check this by many ways,
even no related cookie saved in cookie directory)

I discribe my install action by detail.
I installed IIS, and unzipped php-4.0.6-win32.zip into some directory.
I did some config: added exetend filename '.php' and executive file 'c:\path\php.exe'.
I renamed php.ini-dest to php.ini
(only add zend optimizer config into php.ini, but it didn't matter)
I copyed php.ini into c:\winnt
restart IIS of course.

all php pages are works perfectly without setcookie function.

I tried some of my coworkers' computer (win2k+iis), but all the same.

thank you again. if my situation is a weird case, and makes you impatient, please 
don't blame on me and stop this 
post! otherwise, I would like you to help me. thanks.




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

[2001-08-03 09:44:40] [EMAIL PROTECTED]

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?

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

[2001-08-03 09:41:59] [EMAIL PROTECTED]

status -> open

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

[2001-08-03 09:37:30] [EMAIL PROTECTED]

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] [EMAIL PROTECTED]

never mind, submitted twice.

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

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/?id=12540


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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to