PHP Classes
elePHPant
Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2011-10-19 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 201 All time: 7,818 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

  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:201
This week:0
All time:7,818
This week:1,155Up