note 43450 added to function.setcookie

From: Date: Tue, 22 Jun 2004 01:31:21 +0000
Subject: note 43450 added to function.setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-71469@lists.php.net to get a copy of this message
Although the documentation says passing an empty string or zero in the case of an integer to ignore an argument, it is incorrect. You will want to pass NULL to bypass integer arguments such as expire or you will wind up with unwanted results. ---- Manual Page -- http://www.php.net/manual/en/function.setcookie.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43450 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43450&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43450&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#71469) next »