PHP4 Bug #1793: Cookies behave differently
| From: | gustavo at movi dot com dot ar | Date: | Wed, 21 Jul 1999 12:52:21 +0000 |
| Subject: | PHP4 Bug #1793: Cookies behave differently | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-8880@lists.php.net to get a copy of this message | ||
From: gustavo@movi.com.ar
Operating system: Redhat Linux 5.2 intel
PHP version: 4.0 Beta 1
PHP Bug Type: Misbehaving function
Bug description: Cookies behave differently
PHP 4.0b1 compiled inside Apache 1.3.6 + OpenSSL 0.9.3a + mod_ssl 2.3.6-1.3.6
Netscape Communicator 4.61 Professional/Win98
configure --with-apache=../apache_1.3.6 --enable-track-vars --with-mysql=/usr/local/mysql
--with-gd=../gd1.3 --with-zlib --with-dbase --with-filepro --with-snmp=/usr --with-bc-math
--with-config-file-path=/apache/conf
(apache installed at /apache)
*****
<?
setcookie("cookie_one","john",0,"/");
setcookie("cookie_two","doe",0,"/");
header("Location: start.html");
exit;
?>
*****
Just the second cookie gets set, the first one does a vanishing act.