PHP Classes

GPC_Validate: Validate and filter values of given types

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 204 All time: 8,438 This week: 455Up
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: 195 Up12 in France France Up

  Files folder image Files (6)  
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 (6)  /  tests  
File Role Description
  Accessible without login Plain text file base.test.php Test test case

  Files folder image Files (6)  /  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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:204
This week:0
All time:8,438
This week:455Up