From:             [EMAIL PROTECTED]
Operating system: Window 2000 and IIS4
PHP version:      4.0.6
PHP Bug Type:     IIS related
Bug description:  Cookie cannot be set if there is no output for a page

Below is code for test1.phtml
        setcookie("cokTest","test cookie",0,"/");
End of test1.phtml
Below is code for test2.phtml
        echo "CokTest : $cokTest";
End of test2.phtml

If I start to run test1.phtml, then the output is as the following:

CokTest :

It means that $cokTest cannot be set if there is no output in
There is no problem in Linux-apache platform.

Edit bug report at:

PHP Development Mailing List <>
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