PHP Classes

PHP Form Validation: Validate values of several types

Recommend this page to a friend!
  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,277 All time: 2,902 This week: 961Up
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: 19414 in Tunisia Tunisia
Week rank: 1577 Up7 in Tunisia Tunisia Down

  • 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  
This week:0
All time:2,902
This week:961Up
 User Ratings  
 All time