PHP Classes

PHP Form Validation: Validate values of several types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2011-11-01 (4 years ago) RSS 2.0 feedStarStarStar 59%Total: 1,251 This week: 1All time: 2,903 This week: 1,127Up
Version License PHP version Categories  
php-form-validation 1.0GNU General Publi...4.0Validation
Description Author  

This class can validate values of several types.

It provides several functions to validate a given value according to a validation rule. The functions return a given error string if the rule is not satisfied.

Currently it provides validation rule functions to verify if the value contains letters with a length between a given minimum and a maximum, is a valid e-mail address, contains only digits, is a user name with alphanumeric characters with a minimum length, is a valid date, is a valid address, or is a valid password.

Picture of Mohamed Lafif Tej
Name: Mohamed Lafif Tej <contact>
Classes: 1 package by
Country: Tunisia Tunisia
Age: ???
All time rank: 19294 in Tunisia Tunisia
Week rank: 910 Up4 in Tunisia Tunisia Equal

  • php-form-validation
  Files folder image Files  
File Role Description
Plain text file exemple1.php Example This example to demonstrate how we use validation class
Plain text file validation.class.php Class PHP validation class containing a validation function for each input field

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,251All time:2,903
 This week:1This week:1,127Up
 User Ratings  
 All time