PHP 4.0 Bug #4647: Multiple calls to setcookie() are no longer performed in reverse order
| From: | travis at pulley dot org | Date: | Sat, 27 May 2000 21:16:50 +0000 |
| Subject: | PHP 4.0 Bug #4647: Multiple calls to setcookie() are no longer performed in reverse order | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-19618@lists.php.net to get a copy of this message | ||
From: travis@pulley.org
Operating system: Linux 2.2.15 Glibc2.1
PHP version: 4.0.0 Release
PHP Bug Type: Documentation problem
Bug description: Multiple calls to setcookie() are no longer performed in reverse order
The php manual page http://www.php.net/manual/function.setcookie.php
says "Multiple calls to setcookie() in the same script will be performed in reverse order. If
you are trying to delete one cookie before inserting another you should put the insert before the
delete."
This behaviour does not exist for my setup:
apache 1.3.12
php 4.0.0
configure options: --with-apache=../apache_1.3.12 --with-ftp --with-gd=../gd1.4
--with-ttf=../freetype-1.3.1 --with-mysql --enable-track-vars --with-xml --with-mck=../cybercash/
--with-gettext --disable-debug --with-imap --enable-versioning
I'm not sure if that was an intentional change, but if it is, it's a little inconvenient
for all the php3 scripts I have that delete cookies before setting them. Thanks!