PHP Classes

GPC_Validate: Validate and filter values of given types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-19 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 201 All time: 7,543 This week: 1,155Up
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: 51426 in France France
Week rank: 96 Up7 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:201All time:7,543
 This week:0This week:1,155Up