Whirlpool
#4

Yes, you can do it with a query like this:
Код:
SELECT * FROM accounts WHERE username='username' AND password='thepass'
Obviously, "thepass" is the hashed text the user will input and you compare it with the hashed password stored in your database...

It will return a row if it found the account with that specified username and username (therefore, the login was successful) but if the account wasn't found, it will not return any row (meaning a failed login).
Reply


Messages In This Thread
Whirlpool - by thefatshizms - 06.06.2013, 17:10
Respuesta: Whirlpool - by admantis - 06.06.2013, 17:56
Re: Whirlpool - by thefatshizms - 06.06.2013, 18:02
Respuesta: Whirlpool - by admantis - 06.06.2013, 18:09
Re: Whirlpool - by thefatshizms - 06.06.2013, 18:13
Re: Whirlpool - by IstuntmanI - 06.06.2013, 18:23
Re: Whirlpool - by thefatshizms - 06.06.2013, 18:26

Forum Jump:


Users browsing this thread: 2 Guest(s)