note 2078 deleted from function.setcookie by rasmus

From: Date: Sat, 10 Aug 2002 14:24:20 +0000
Subject: note 2078 deleted from function.setcookie by rasmus
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34690@lists.php.net to get a copy of this message
It seems that it is good practice to always pass all the variables, even if they are just empty strings or 0. I've run into problems where if I tried to leave off the optional variables, it didn't work. In addition, I found that I had to use time() for the expire rather than just 0.

« previous php.notes (#34690) next »