PHP Classes
elePHPant
Icontem

Validator.php: Form Validation class

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Kevin Burke
Name: Kevin Burke <contact>
Classes: 2 packages by
Country: United States United States
Age: 33
All time rank: 28131 in United States United States
Week rank: 457 Down54 in United States United States Down


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class is meant to validate data entered in forms.

It provides 11 types of validation. To specify a field to validate it requires the field name and, in some cases, other arguments.

The class will return false if the validation failed.

Validator has support to check if a field is or has:
- filled in
- of specified length (<, >, >=, <=, =)
- a valid email
- a string equal in string value to another field
- a string between two values (string length)
- punctuation
- an integer of specified value (<, >, >=, <=, =)
- an integer between two values
- only alphabetic characters
- only alphanumeric characters
- a date of specified format

  Classes of Kevin Burke  >  Validator.php  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Validator.php
Base name: validator
Description: Form Validation class
Version: 1.0.0
PHP version: -
License: GNU Lesser General Public License (LGPL)
All time users: 6192 users
All time rank: 333
Week users: 3 users
Week rank: 452 Down
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Text processing Manipulating and validating text data View top rated classes
Group folder image Validation Validation algorithms View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Good (83%) Good (86%) - Good (82%) - - Not sure (58%) 1067
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Accessible without login HTML file form.html Data Form file
Accessible without login Plain text file validation.php Example validation test
Plain text file Validator.php Class Class file

Install with Composer Install with Composer - Download Download all files: validator.tar.gz validator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.