Login   Register  
PHP Classes
elePHPant
Icontem

Validate form elements : Validate values of several different 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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-01-09 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 716 This week: 1All time: 4,214 This week: 1,476Up
Version License PHP version Categories  
validator-controller 1.0Free For Educational Use5.0PHP 5, Validation
Description Author  

This class can be used to validate values of several different types.

It takes an array with the values and validation rules that should be verified to check if the values are valid.

Currently it can check for empty values, e-mail addresses, IP addresses, URLs, integer, string, extensions and uploaded files.

The class returns the lists of errors associated to the validation rules which are not satisfied.

Picture of Osama Salama
Name: Osama Salama <contact>
Classes: 4 packages by
Country: Egypt Egypt
Age: 35
All time rank: 163412 in Egypt Egypt
Week rank: 789 Up9 in Egypt Egypt Up

  Files folder image Files  
File Role Description
Plain text file Class.Validate.php Class Class
Accessible without login Plain text file example.php Example example

 Version Control Unique User Downloads Download Rankings  
 0%Total:716All time:4,214
 This week:1This week:1,476Up
 User Comments (1)  
 
This class is unusable in the current form.
3 years ago (Artur Graniszewski)
2%Star