Re: Passwords

From: Date: Thu, 09 Mar 2006 00:02:43 +0000
Subject: Re: Passwords
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-41414@lists.php.net to get a copy of this message
I have created a user login/registration page. As of now I am using a MySQL database to store the info of the user. To validate the user I also have the password stored in the same DB. I was wondering if there is a way that I can store the password in the DB so that it is encrypted or something. Just so it is not in plain text.
Of course. Check out any of MySQL's encryption functions. Make sure that you use the same function and parameters for both the registration and the login or else the login will never work. Larry

« previous php.db (#41414) next »