ID: 16626 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Apache2 related Operating System: RedHat 7.2 (kernel 2.4.18) i386 PHP Version: 4.2.0 New Comment:
I get the same problem on FreeBSD 4.5 with Apache 2. Previous Comments: ------------------------------------------------------------------------ [2002-04-23 04:22:00] [EMAIL PROTECTED] Bug reproduced with 4.2.0 ------------------------------------------------------------------------ [2002-04-16 16:37:10] [EMAIL PROTECTED] Same problem as BUG# 16631. (Problem also with RC2 and RC3 of 4.2.0) ------------------------------------------------------------------------ [2002-04-15 17:19:12] [EMAIL PROTECTED] With Apache 2.0.35 and PHP 4.2.0RC4, only the last cookie seems to get set. Here is the PHP source I used for testing: <?php setcookie ('first_name', 'Svein', 0, '/'); setcookie ('last_name', 'Olav', 0, '/'); echo "<html><head></head><body>" . "<h1>Cookie test page</h1>\n"; while (list ($var,$val) = each ($HTTP_COOKIE_VARS)) { echo "Set-Cookie: $var=$val <br>\n"; } echo "</body></html>"; ?> This script can be tested via the following URL: https://bjerkeset.dns2go.com/php/cookie.php PHP was configured like this: ./configure \ --prefix=/opt/php \ --with-mysql=/opt/mysql \ --with-config-file-path=/etc/opt/apache2 \ --enable-track-vars \ --enable-force-cgi-redirect \ --with-gettext \ --with-apxs2=/opt/apache2/bin/apxs Svein Olav Bjerkeset ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16626&edit=1