PHP Classes

GPC_Validate: Validate and filter values of given types

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 204 This week: 1All time: 8,434 This week: 560Up
Version License PHP version Categories
gpc-validate 1GNU General Publi...5.0PHP 5, Validation
Description 

Author

This class can validate and filter an array of values of given types, like for instance super-global arrays.

It takes an array of values and can validate and filter each of them according specific type rules, like integers, strings that need to be escaped as HTML entities or MySQL text values, etc..

The class uses separate classes for each validation type which are loaded dynamically when the validation occurs.

Picture of lattuada
Name: lattuada <contact>
Classes: 3 packages by
Country: France France
Age: ???
All time rank: 42724 in France France
Week rank: 106 Up5 in France France Up

  Files folder image Files  
File Role Description
Files folder imagetests (1 file)
Files folder imagevalidators (3 files)
Plain text file GPC_Validate.class.php Class main class
Accessible without login Plain text file usage.php Example examples file

  Files folder image Files  /  tests  
File Role Description
  Accessible without login Plain text file base.test.php Test test case

  Files folder image Files  /  validators  
File Role Description
  Plain text file getint.class.php Class validators/getint.class.php
  Plain text file getstring.class.php Class validators/getstring.class.php
  Plain text file IValidate.if.php Class interface for validators

 Version Control Unique User Downloads Download Rankings  
 0%
Total:204
This week:1
All time:8,434
This week:560Up