SA-MP Forums Archive
SQL Injection, help me please - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SQL Injection, help me please (/showthread.php?tid=544754)



SQL Injection, help me please - Parlianment - 03.11.2014

Welcome.
I had a problem, SQL injection, the question whether it is possible that global supply protection against this nonsense?
SQL injection is used in dialogs. Sometimes SQL injections - cause the server to load the processor core to 101-106%. How we can solve this problem?

MySQL R7-39-2


Re: SQL Injection, help me please - Kebab- - 03.11.2014

mysql_real_escape_string would be the right way to do it.

https://sampwiki.blast.hk/wiki/MySQL#mys..._escape_string