This class can filter requests to recognise malicious values and either call a 403 access denied ( default ), or optionally add the offending IP address to the banned list in the root htaccess file of a website...

Read more at http://www.phpclasses.org/package/8224-PHP-Filter-requests-to-discard-malicious-values.html