Bug #17663 Updated: setcookie only sets last of multiple cookies

From: Date: Mon, 01 Jul 2002 21:33:42 +0000
Subject: Bug #17663 Updated: setcookie only sets last of multiple cookies
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-12718@lists.php.net to get a copy of this message
ID: 17663 Updated by: khristopher_klaich@nywd.uscourts.gov Reported By: craig@bioware.com Status: Closed Bug Type: Apache2 related Operating System: RedHat 7.2 PHP Version: 4.0CVS-2002-06-09 New Comment: I just tried to install this on my red.hat 6.2 system with apache 2.0.39 installed and I get the following /usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c: In function `php _register_hook': /usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter' /usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:567: too many arg uments to function `ap_register_output_filter' /usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter' /usr/local/php4-200207011200/sapi/apache2filter/sapi_apache2.c:568: too many arg uments to function `ap_register_input_filter' make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1 This happened on the make.....what now? Previous Comments: ------------------------------------------------------------------------ [2002-06-28 01:26:21] derick@php.net [2002-06-20 18:47:50] sniper@php.net http://snaps.php.net/php4-latest.tar.gz fixes this. it doesn't say stable here, only fixed in the 4.3.0dev version. Derick ------------------------------------------------------------------------ [2002-06-28 01:24:28] jtrusty@kiva.net Running apache 2.0.39 with php 4.2.2-dev (latest stable) compiled as module on winnt. Experiencing the same problem. Php refuses to set multiple cookies. If setting more than a single cookie in a row, only the last cookie gets set (if you're lucky). Is a fix for this on the way? ------------------------------------------------------------------------ [2002-06-24 06:35:37] red@tripany.com yup, php4-200206240000 worked, but now without yp support... next bug Cheers Robin ------------------------------------------------------------------------ [2002-06-20 18:47:50] sniper@php.net http://snaps.php.net/php4-latest.tar.gz fixes this. ------------------------------------------------------------------------ [2002-06-20 11:47:16] red@tripany.com The guys at apache maintain it's a php problem, something with HEAD or so (see apache bug # 10061) so I'm back here now... Grtz Robin Edgar ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/17663 -- Edit this bug report at http://bugs.php.net/?id=17663&edit=1

« previous php.bugs (#12718) next »