Mysql not logging password
#1

Mysql is saving everything correct but the password in the database is blank and dont understand what is wrong with it

Код:
stock RegisterPlayer(playerid, regpass[])
{
	new query[256], EncryptedPass[130];
				
	WP_Hash(EncryptedPass, sizeof(EncryptedPass), regpass);
	
	format(query, sizeof(query), "INSERT INTO accounts (Name, Password, PlayerPos, Skin) VALUES ('%s', '%s', '1.0 2.0 3.0', '299')", GetName(playerid), EncryptedPass);
	mysql_query(query);
	
	LoginPlayer(playerid);
	
	return 1;
}
Код:
		case dialogThreadRegister:
		{
			if(response)
			{
				RegisterPlayer(playerid, inputtext);
			}
			if(!response)
			{
				Kick(playerid);
			}
		}
Could someone please help me? Everything saves perfect except the password they type, which is confusing because everything looks right.
Reply


Messages In This Thread
Mysql not logging password - by Blademaster680 - 05.08.2013, 06:09
Re: Mysql not logging password - by Emmet_ - 05.08.2013, 06:13
Re: Mysql not logging password - by Blademaster680 - 05.08.2013, 06:50

Forum Jump:


Users browsing this thread: 1 Guest(s)