[HELP]Bug hash password script
#1

dosent login... i hashed the password

edit
Reply
#2

Indent the script first please, so it is actually readable
Reply
#3

Quote:
Originally Posted by milanosie
Посмотреть сообщение
Indent the script first please, so it is actually readable
done, look
Reply
#4

Your code makes no sense whatsoever. You're in fact just comparing hashed inputtext with plain inputtext, which obviously isn't going to work out.

You should hash the input password first, then send the query with the hashed password. Then you store the result and see if there are any rows returned. If there is a row, then the passwords matched and you can proceed to login. If there's no row, the passwords didn't match (obviously).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)