MD5 password comparison

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
xt07t
Forum Newbie
Posts: 19
Joined: Mon Apr 19, 2004 4:01 pm

MD5 password comparison

Post by xt07t »

tim wrote:Man whatever happened to all the tutorials that were actually helpful?

IE, the SESSION tutorial (which is still gone)

the MD5 tutorial by Roja? I cannot find these anymore.

I think it would be beneficial to alot for those tutorials to be brought back.
If you cannot find that tutorial, can someone point me in the direction of a better one?

I basically need to have people login through a form, then use MD5 to encrypt the password and make sure it is the same as the one in the database, then either return a true or false.
Thanks!!


Split from a topic in Suggestions
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

search the forums, we've talked about such a function many times.
User avatar
Joe
Forum Regular
Posts: 939
Joined: Sun Feb 29, 2004 1:26 pm
Location: UK - Glasgow

Post by Joe »

I basically need to have people login through a form, then use MD5 to encrypt the password and make sure it is the same as the one in the database, then either return a true or false.
Thanks!!
$password = md5($_POST['password']);

then create the comparison statements.
Post Reply