PHP md5 Login Script Help

Ask about general coding issues or problems here.

Moderators: macek, egami, gesf

Post Reply
User avatar
fady10
New php-forum User
New php-forum User
Posts: 10
Joined: Mon Sep 24, 2012 6:58 pm
Contact:

Re: PHP md5 Login Script Help

Post by fady10 » Tue Sep 25, 2012 8:06 pm

Try to separate the hashing operation from the inserting and selecting operations.
$password = md5($password);
Then use the new $password variable in your sql statement.

Make sure that the password is stored in your table hashed.


Regards,
Fady Joseph
iFunny; The funniest blog ever ! funny comics and pictures

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 8 guests