Escape
#4

You should basically only escape inputs.

You're better off leaving that function aside. And when you are going to execute a query that has custom inputs in it, use the %q specifier (escapes the string placed in the parameter), instead of the %s specifier.

The %q specifier is built into the native format.
Reply


Messages In This Thread
Escape - by ScIrUsna - 06.05.2016, 03:39
Re: Escape - by KevinReinke - 06.05.2016, 03:42
Re: Escape - by ScIrUsna - 06.05.2016, 04:22
Re: Escape - by KevinReinke - 06.05.2016, 05:01
Re: Escape - by ScIrUsna - 06.05.2016, 05:14
Re: Escape - by itsCody - 06.05.2016, 05:27
Re: Escape - by KevinReinke - 06.05.2016, 05:30
Re: Escape - by ScIrUsna - 06.05.2016, 06:53

Forum Jump:


Users browsing this thread: 1 Guest(s)