Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
Filtreatment (0 Comments)
Admin: Posted Date: April 4, 2010

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.

Class: Filtreatment

Detailed description

This class can be used to validate and filter input 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.

 

 

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: