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


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


Changes: This release adds trim() to line 195.


Changes: 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.


Changes: Three bugs were fixed.


No changes have been submitted for this release.
A script to convert and resize all image files in a directory and upload to a remote host via scp.