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.
| Tags | Internet Web Dynamic Content CGI Tools/Libraries Text Processing Filters Software Development Libraries php classes Markup HTML/XHTML |
|---|---|
| Implementation | PHP |
Recent releases


Release Notes: In this release, four patches, one requested feature, and two bugfixes were added.


Release Notes: This release adds trim() to line 195.


Release Notes: Much more comprehensive XSS protection. Updated examples as well as an interactive test suite. A minor bugfix. This security update is recommended for anyone who has downloaded a previous release.


Release Notes: Three bugs were fixed.


No changes have been submitted for this release.