Login   Register  
PHP Classes
elePHPant
Icontem

My Validation: Validate request values according to custom rules

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-06-07 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 585 All time: 4,796 This week: 1,413Up
Version License PHP version Categories  
my-validation 1.0.0GNU General Public Lice...4.0HTTP, PHP 5, Validation
Description Author  

This class can validate request values according to custom rules.

It can take request values from different sources to perform several types of validation.

Currently it can validate values sent via GET or POST requests, session variables, cookie values and global variables.

The class takes another parameters that defines the type of validation condition to be evaluated.

Currently it can evaluate if the value is a number that is equal, different, smaller or larger than a parameter, check if it is within a range or in a list of values, if it is a float, an email address, a date, or matches a regular expression, etc..

Picture of Gianluca Zanferrari
Name: Gianluca Zanferrari <contact>
Classes: 15 packages by
Country: The Netherlands The Netherlands
Age: 48
All time rank: 2809 in The Netherlands The Netherlands
Week rank: 64 Up5 in The Netherlands The Netherlands Up
Innovation award
Innovation award
Nominee: 4x

  Files folder image Files  
File Role Description
Plain text file my_validation.class.php Class main class
Accessible without login Plain text file my_validation.php Example usage example

 Version Control Unique User Downloads Download Rankings  
 0%Total:585All time:4,796
 This week:0This week:1,413Up