12.04.2016, 18:01
search for DROP TABLE in ur gm, or somone is sql injecting your gamemode
from https://sampforum.blast.hk/showthread.php?tid=162584 :
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); |