RE: [PHP-GENERAL] cookie problem

From: Date: Mon, 12 Jun 2000 23:08:34 +0000
Subject: RE: [PHP-GENERAL] cookie problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-1676@lists.php.net to get a copy of this message
Brad, Send more of the code and I'll see if I can figure it out. Jason > -----Original Message----- > From: Brad Sacks [mailto:brad@m29.com] > Sent: Monday, June 12, 2000 4:37 PM > To: php-general@lists.php.net > Subject: [PHP-GENERAL] cookie problem > > > Man I really can't find a solution to this cookie problem. Where are the > cookie wizards out there? I have tried every resource I can think of. I > acctually copied this code right out of a book. I can't figure out why > it doesn't work. > if (!isset($id)) { > srand((double)microtime()*1000000); > $randval = rand(); > setcookie("id",$randval,time()+31536000,"/",".m29.com",0); > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > _______________________________________________________ Site Design, Hosting, and E-Commerce at www.webpipe.net

« previous php.general (#1676) next »