ID:               17410
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Duplicate
+Status:           Closed
 Bug Type:         HTTP related
 Operating System: FreeBSD 4.5-RELEASE
 PHP Version:      4.2.1
 New Comment:

This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.




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

[2002-05-24 09:34:00] [EMAIL PROTECTED]

Ohh  - yeahh .. It is compiled as a module for apache2

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

[2002-05-24 09:30:04] [EMAIL PROTECTED]

'./configure' '--with-apxs2=/usr/local/sbin/apxs' '--with-
tsrm-pth' '--with-config-file-path=/usr/local/etc' '--
enable-versioning' '--with-regex=system' '--without-gd' '--
without-mysql' '--with-gd=/usr/local' '--enable-gd-native-
ttf' '--with-freetype-dir=/usr/local' '--with-jpeg-dir=/
usr/local' '--with-png-dir=/usr/local' '--with-zlib' '--
with-pgsql=/usr/local' '--enable-ftp' '--with-curl=/usr/
local' '--prefix=/usr/local' 'i386-portbld-freebsd4.5'
---------------

When doing the following test:
<snip>
<?
setcookie("a", "a123");
setcookie("b", "b623");
setcookie("c", "c233");
setcookie("d", "d143");
?>

<a href="p2.php">Page 2</a>
</snip>

and viewing the page:

<snip>
<?
echo $HTTP_COOKIE_VARS["a"]."<br>";
echo $HTTP_COOKIE_VARS["b"]."<br>";
echo $HTTP_COOKIE_VARS["c"]."<br>";
echo $HTTP_COOKIE_VARS["d"]."<br>";
?>
<a href="p1.php">Page 1</a>
</snip>

only the last cookie is echo'ed. When running on php 4.1.1 
all four cookies are echo'ed. When looking in my cookies 
folder only one cookie has been set.





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


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

Reply via email to