On Tue, Nov 13, 2001 at 04:10:01AM +0200 , Zeev Suraski wrote:
> http://www.php.net/~zeev/php-4.1.0RC2.tar.gz
> 
> Do your thang :)

There is some problem with php run from command line, when HTTP header
output is disabled - that's either -f or -q

test.php:
<? session_start();
?>

php -f test.php

<br>
<b>Warning</b>:  Cannot send session cookie - headers already sent in
<b>/root/p/test.php</b> on line <b>2</b><br>
<br>
<b>Warning</b>:  Cannot send session cache limiter - headers already sent
(output started at /root/p/test.php:2) in <b>/root/p/test.php</b> on line
<b>2</b><br>

and again is setcookie() OK. I'm not really sure about this, but
setcookie("bla"); gives on earlier version this output:

Set-Cookie: bla=deleted; expires=Wed, 15-Nov-00 13:37:21 GMT

but on 4.1.0RC2

Set-Cookie: bla=

is that OK?

                                Petr Cech
-- 
Debian GNU/Linux maintainer - www.debian.{org,cz}
           [EMAIL PROTECTED]

<Robot101> GNU\Linux on Win32 systems

-- 
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