PHP Classes
elePHPant
Icontem

PHP Validaton class: Validate submitted form values according to rules

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-07-07 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 433 This week: 1All time: 5,814 This week: 1,067Up
Version License PHP version Categories  
php-validation-class 1.0.0GNU General Publi...5.0PHP 5, Validation
Description Author  

This class can validate submitted form values according to rules.

It takes an array of parameters of rules and the $_POST or $_GET array with the submitted form values and verifies if they satisfy the specified rules.

The class returns a list of invalid form values in case some are invalid.

Currently it can validate values with rules like making the value required, maximum and minimum length, check if it is a number, letters or numbers only, email addresses, and URL.

Picture of Alankar
Name: Alankar <contact>
Classes: 1 package by
Country: India India
Age: 28
All time rank: 3154211 in India India
Week rank: 859 Up67 in India India Up

  Files folder image Files  
File Role Description
Plain text file validation.php Class Validaton class.
Accessible without login Plain text file validation_demo.php Example Demo for PHP validation class

 Version Control Unique User Downloads Download Rankings  
 0%Total:433All time:5,814
 This week:1This week:1,067Up
 User Comments (1)  
 
Thats a good and useful class :-)
1 year ago (Josť Filipe Lopes Santos)
70%StarStarStarStar