Welcome Guest, Not a member yet? Register   Sign In
Is this MODEL method safe?
#20

@George.adrian

What you do is not about good/best practices or respecting standards. Simply, the line you add is wrong. The escape method has its purpose - it escapes values before they get inserted within the SQL. What you do is escaping string that itself is a SQL-fragment. This is nonsense - in this direction you have nothing to research about.
Reply


Messages In This Thread
Is this MODEL method safe? - by george.adrian - 07-19-2017, 02:51 AM
RE: Is this MODEL method safe? - by ciadvantage - 07-19-2017, 08:02 AM
RE: Is this MODEL method safe? - by george.adrian - 07-19-2017, 08:08 AM
RE: Is this MODEL method safe? - by ivantcholakov - 07-19-2017, 08:22 AM
RE: Is this MODEL method safe? - by george.adrian - 07-19-2017, 08:27 AM
RE: Is this MODEL method safe? - by ivantcholakov - 07-19-2017, 08:56 AM
RE: Is this MODEL method safe? - by george.adrian - 07-19-2017, 09:06 AM
RE: Is this MODEL method safe? - by nippi9 - 07-19-2017, 09:01 AM
RE: Is this MODEL method safe? - by PaulD - 07-19-2017, 10:21 AM
RE: Is this MODEL method safe? - by george.adrian - 07-19-2017, 11:00 AM
RE: Is this MODEL method safe? - by ivantcholakov - 07-19-2017, 10:42 AM
RE: Is this MODEL method safe? - by Martin7483 - 07-19-2017, 11:18 AM
RE: Is this MODEL method safe? - by george.adrian - 07-19-2017, 11:44 AM
RE: Is this MODEL method safe? - by Martin7483 - 07-19-2017, 01:11 PM
RE: Is this MODEL method safe? - by george.adrian - 07-20-2017, 02:51 AM
RE: Is this MODEL method safe? - by Martin7483 - 07-20-2017, 03:18 AM
RE: Is this MODEL method safe? - by george.adrian - 07-20-2017, 04:47 AM
RE: Is this MODEL method safe? - by Martin7483 - 07-20-2017, 05:01 AM
RE: Is this MODEL method safe? - by george.adrian - 07-20-2017, 05:13 AM
RE: Is this MODEL method safe? - by ivantcholakov - 07-20-2017, 07:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB