Login   Register  
PHP Classes
elePHPant
Icontem

GPC_Validate: Validate and filter values of given types

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 (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-10-19 (2 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 196 All time: 7,196 This week: 1,830Up
Version License PHP version Categories  
gpc-validate 1GNU General Public Lice...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: 57826 in France France
Week rank: 267 Up12 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:196All time:7,196
 This week:0This week:1,830Up