Re: 4.1.0RC2
| From: | Petr Cech | Date: | Thu, 15 Nov 2001 13:38:40 +0000 |
| Subject: | Re: 4.1.0RC2 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-70565@lists.php.net to get a copy of this message | ||
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}
cech@atrey.karlin.mff.cuni.cz
<Robot101> GNU\Linux on Win32 systems