Re: cookie problems

From: Date: Wed, 11 Jul 2001 06:40:29 +0000
Subject: Re: cookie problems
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10268@lists.php.net to get a copy of this message
HI, my guess is is that the cookies will be killed the NEXT time you run this script. Ken ----- Original Message ----- From: "Brad Lipovsky" <syzme@home.com> To: <php-db@lists.php.net> Sent: Tuesday, July 10, 2001 11:24 PM Subject: [PHP-DB] cookie problems > can anyone help me with this code? i cant believe it wont work, it seems > pretty simple! > > <?php > setcookie ("logged_in", "logged in", time() - 3600); > setcookie ("logged_user_name", "logged user name", time() - 3600); > > print "$logged_in <br>"; > print "$logged_user_name"; > ?> > > brad > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#10268) next »