PHP Login Class
View Single Post
05-09-2009, 02:50 PM
Join Date: Feb 2009
Location: New York
Originally Posted by
Whats MD5? I assume I would encrypt the password then store it on the database then unencrypt after i've read it from the database.
yeah you can do that with mcrypt if you have that extension installed.
But the best route is to one-way hash it with MD5 so that there is no way to display the password ever...
If a user forgets, they would have to come up with a new password.
View Public Profile
Send a private message to allworknoplay
Find More Posts by allworknoplay