PHP Classes

Request Validation: Validate POST and GET request values

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 602 All time: 5,157 This week: 423Up
Version License PHP version Categories
request_validation 1.0GNU General Publi...5PHP 5, Validation
Description Author

This class can validate POST and GET request values.

It can take an array of POST or GET values and performs validations of many types for each field.

Currently it can validate required values, letters, letter, numbers, symbols, boolean states, currency amounts, dates and time, decimal values, email addresses, inputs that must have an equal value, text length, person names, regular expressions, URLs, mac addresses, IP addresses, hostnames, and lists of values.

The class returns an array with the list of invalid request values.

Picture of Ron Darby
  Performance   Level  
Name: Ron Darby <contact>
Classes: 4 packages by
Country: South Africa South Africa
Age: 41
All time rank: 10409 in South Africa South Africa
Week rank: 587 Up6 in South Africa South Africa Up

  Files folder image Files  
File Role Description
Plain text file request.class.php Class Request Validation Class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:5,157
This week:423Up
User Ratings User Comments (2)
 All time
Nicely implemented and documentation is informative.
8 years ago (Kumar S)
Bad implementation.
8 years ago (Federico)