Re: Remember username and password

From: Date: Tue, 01 Jun 2004 13:09:34 +0000
Subject: Re: Remember username and password
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-187344@lists.php.net to get a copy of this message
From: "Phpu" <phpu@go.ro> > How can i make a registration form that will remember > my username and password every time i login from the same computer? > I think i should set a cookie but i don't know how. http://us2.php.net/setcookie Don't put the username and password in the cookie. You need to set a unique identifier in the cookie that is related to the username and password on the server side. md5() and uniqid() can come in handy for this. ---John Holmes...

« previous php.general (#187344) next »