note 10225 added to setcookie

From: Date: Wed, 20 Dec 2000 05:47:12 +0000
Subject: note 10225 added to setcookie
Groups: php.notes 
Request: Send a blank email to php-notes+get-8938@lists.php.net to get a copy of this message
I'd just like to reinforce a prior comment. I had problems setting cookies in IE - netscape was working fine. As it turned out, they set properly if I didn't set the time. The default manner of setting the expiration should be the following - gmstrftime("%A, %d-%b-%Y %H:%M:%S", time()+7200) and not just time()+7200 http://www.php.net/manual/function.setcookie.php

« previous php.notes (#8938) next »