|All requests||>||Input Filter||>||Request new recommendation||>||Featured requests||>||No recommendations|
by santhosh - 7 years ago (2015-06-02)
prevent xss attacks in php code. remove html tags , bad words while posting values using form
This is the class that I have always used, very easy to configure for what tags and properties to allow and it strips the rest. It does most of the heavy lifting you are looking for including xss filter, except it does not have a bad word filter. I was not able to locate any that combined stripping tags, xss prevention and bad word filter, so you would have to use an additional bad word filter class, there are plenty on here to choose from.