I'm working on an old system that has multiple SQL injection risks. In order to prevent this problem all together I want to escape all $_POST
and $_GET
data. The problem is that the script itself also escapes. Now I'm wondering if it's possible to detect if a string has already been escaped.
Any other solutions are also welcome.
Thanks!