Posts: 183
Threads: 48
Joined: Oct 2011
Reputation:
0
In my GM use a SQLite database, how can I protect it from sql injection?
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
mysql_real_escape_string and keeping your variable sizes as short as they need to be. Also adding slashes and dont use varchar for an int and that kind of stuff.
Posts: 1,938
Threads: 16
Joined: Feb 2007
Reputation:
0
Where you get your input. It is being used on the string that you send to the database.