MD5 Problem.
#1

Hello Guys, i have a Problem with MD5, i have Created a Login & Register System, but everytime
the Password is incorrect hmm ?

Thats the Code :

new Query[200], Pname[24];
GetPlayerName(playerid, Pname, 24);
new escpname[24];
mysql_real_escape_string(Pname, escpname);
format(Query, sizeof(Query), "SELECT * FROM `wcf1_user` WHERE `username` = '%s' AND `password` = '%s'", escpname, MD5_Hash(inputtext));
mysql_query(Query);
mysql_store_result();
Reply


Messages In This Thread
MD5 Problem. - by Xivop. - 27.03.2011, 14:14
Re: MD5 Problem. - by nickolas12 - 27.03.2011, 14:16
Re: MD5 Problem. - by Macluawn - 27.03.2011, 14:17
Re: MD5 Problem. - by Xivop. - 27.03.2011, 14:26
Re: MD5 Problem. - by Zh3r0 - 27.03.2011, 14:28
Re: MD5 Problem. - by Vince - 27.03.2011, 15:02

Forum Jump:


Users browsing this thread: 1 Guest(s)