Posts Tagged ‘SQL’

Prevent SQL Injection Attacks!

Sunday, October 26, 2008 10:18 No Comments

To prevent SQL Injection Attacks on a php script, add this code to a file and include it in every php file at the start.
This filters the input of POST and GET array and exits if it finds any SQL Keywords used for injection.
Here is the code :

This was posted under category: PHP tutorials Tags: php, SQL