Re: cookie problem

From: Date: Fri, 01 Sep 2000 10:15:55 +0000
Subject: Re: cookie problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-14784@lists.php.net to get a copy of this message
On Thu, 31 Aug 2000, LDL Enterprise wrote: > I cannot seem to write a cookie using the setcookie function. Does anyone have any ideas as to > what the problem may be. I can write one with Jscript no prob. This is what code I have. > > <?php > $y2k = mktime(0,0,0,1,1,2000); > setcookie('name', 'bret', $y2k); > ?> mktime(0,0,0,1,1,2000) - mead 1 January 2000. In the same time you set cookie it is expired.

« previous php.general (#14784) next »