MD5 and MySQL
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
Код:
SELECT * FROM `Accounts` WHERE `Username` = '%s' AND `Password` = md5('%s')
What he said...

Btw, use this instead:
pawn Код:
if(mysql_num_rows() > 0)
{
    // Correct Pass
}
else
{
    // Wrong pass
}
Reply


Messages In This Thread
MD5 and MySQL - by [L3th4l] - 01.01.2011, 23:24
Re: MD5 and MySQL - by Vince - 01.01.2011, 23:27
Re: MD5 and MySQL - by _rAped - 01.01.2011, 23:29
Re: MD5 and MySQL - by FreshDoubleX - 01.01.2011, 23:31
Re: MD5 and MySQL - by _rAped - 01.01.2011, 23:33
Re: MD5 and MySQL - by Sergei - 01.01.2011, 23:53

Forum Jump:


Users browsing this thread: 2 Guest(s)