PHP Input Filter
Came across this neat PHP class when looking around for proctecting a site against XSS attacks.
“PHP Input Filter is a class that can filter input for stray or malicious PHP, JavaScript, or HTML tags. It can be used to prevent cross-site scripting (XSS) attacks. It should be used to filter input supplied by the user, such as HTML code entered in form fields.”
