User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

php:filtreatment [2013/03/16 17:40] (current)
Line 1: Line 1:
 +==== Filtreatment Class ====
 +This class can be used to validate and filter text values based on several types of rules. It can treat a text value by performing one or more several types of validation. Each validation returns the filtered value or false if the input is not valid.
 +Currently the class can perform the validations for: integer values, floating point values, strip HTML tags, regular expression matching, e-mail address, HTML without potential cross site scripting (XSS) exploits, and escaped text values for SQL queries to avoid SQL injections.
 +Download latest version of **Filtreatment Class** (1.32 - 06.01.2010) {{:​php:​|here}}
php/filtreatment.txt ยท Last modified: 2013/03/16 17:40 (external edit)