Mysql Whirlpool problem
#1

Let me first tell about the problem and then i will provite the code,so i've already hash the password but when i check if password match that they type and db its show it correct while im typing wrong password
pawn Код:
new hashpass[129];
WP_Hash(hashpass,sizeof(hashpass),inputtext);
if(!strcmp(hashpass,PlayerInfo[playerid][pPassword]))
{
    SendClientMessage(playerid,-1,"YES");
}else SendClientMessage(playerid,-1,"NO");
PlayerInfo[playerid][pPassword] = its the hashed password thet i take from db

I've try like that too but this time its only say " NO" on first only " YES"
pawn Код:
new hashpass[129];
WP_Hash(hashpass,sizeof(hashpass),inputtext);
if(strcmp(hashpass,PlayerInfo[playerid][pPassword]))
{
    SendClientMessage(playerid,-1,"YES");
}else SendClientMessage(playerid,-1,"NO");
Reply


Messages In This Thread
Mysql Whirlpool problem - by doreto - 22.07.2012, 13:06
Re: Mysql Whirlpool problem - by newbienoob - 22.07.2012, 13:08
Re: Mysql Whirlpool problem - by doreto - 22.07.2012, 13:10
Re: Mysql Whirlpool problem - by doreto - 22.07.2012, 16:25
Re: Mysql Whirlpool problem - by doreto - 24.07.2012, 06:32
Re: Mysql Whirlpool problem - by doreto - 24.07.2012, 09:52
Re: Mysql Whirlpool problem - by doreto - 25.07.2012, 08:45

Forum Jump:


Users browsing this thread: 2 Guest(s)