Login   Register  
PHP Classes
elePHPant
Icontem

PHP Form Validation: Validate values of several types

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  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 (3 years ago) RSS 2.0 feedStarStarStar 59%Total: 1,204 This week: 3All time: 2,929 This week: 574Up
Version License PHP version Categories  
php-form-validation 1.0GNU General Public Lice...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: 19275 in Tunisia Tunisia
Week rank: 560 Up3 in Tunisia Tunisia Up

Screenshots  
  • 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,204All time:2,929
 This week:3This week:574Up
 User Ratings  
 
 All time
Utility:83%StarStarStarStarStar
Consistency:83%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:59%StarStarStar
Rank:971