Stats Reset Problem?
#2

search for DROP TABLE in ur gm, or somone is sql injecting your gamemode

from https://sampforum.blast.hk/showthread.php?tid=162584 :

Quote:

new Escape[2][128];
mysql_real_escape_string(name, Escape[0]); // This function makes sure you don't get MySQL injected. Read about it by searching it on ******.
mysql_real_escape_string(sscanfinput, Escape[1]);
format(string, 128, "INSERT INTO Account_Table_Name (Username, Password) VALUES('%s', md5('%s'))", Escape[0], Escape[1]);
mysql_query(string);

Reply


Messages In This Thread
Stats Reset Problem? - by PrednizoN - 12.04.2016, 15:20
Re: Stats Reset Problem? - by sheNdjze - 12.04.2016, 18:01
Re: Stats Reset Problem? - by PrednizoN - 12.04.2016, 19:08
Re: Stats Reset Problem? - by Sew_Sumi - 12.04.2016, 19:15
Re: Stats Reset Problem? - by Freedom. - 12.04.2016, 19:24
Re: Stats Reset Problem? - by PrednizoN - 13.04.2016, 19:48

Forum Jump:


Users browsing this thread: 2 Guest(s)