note 23177 added to function.setcookie

From: Date: Thu, 11 Jul 2002 04:13:36 +0000
Subject: note 23177 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-32880@lists.php.net to get a copy of this message
Just upgraded to PHP 4.2.1 on FreeBSD 4.4-stable from a pre-4.1 release. The third argument for setcookie() has changed, in that where it would previously accept a long or a string (of a long) it will now only accept a long, which meant modifying cookie code everywhere I set something. With some previous versions using a string form created better results, but hopefully this constraint on type is an indication of a general clean-up in code. I'm assuming no choice means we're getting a best-case forced on us. However, this is a good thing to know for anyone considering an upgrade. -- http://www.php.net/manual/en/function.setcookie.php http://master.php.net/manage/user-notes.php?action=edit+23177 http://master.php.net/manage/user-notes.php?action=delete+23177 http://master.php.net/manage/user-notes.php?action=reject+23177

« previous php.notes (#32880) next »