Parameters: Validate command line or HTTP request parameters

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 198 All time: 8,315 This week: 480Up
Version License PHP version Categories
parameters 1.0BSD License5.0HTTP, PHP 5, Console, Validation
Description Author

This class can validate command line or HTTP request parameters.

It can take the parameters passed to a PHP script and validated them according to given rules.

The parameter values can be passed either from the command line or in the HTTP request URL.

Currently the class supports validating parameters that must be integers or file names.

The class may also return the values of the validated parameters.

  Performance   Level  
Name: Robert Atkinson <contact>
Classes: 1 package by
Country: United Kingdom
Age: 49
All time rank: 4042168 in United Kingdom
Week rank: 604 Up17 in United Kingdom Up

  • ParametersTest_Output.jpg
  • ParametersTest_Code.jpg
  Files folder image Files  
File Role Description
Accessible without login Plain text file PARAMETERS_TEST.PHP.TXT Example Example Code
Plain text file PARAMETERS_CLASS.PHP Class Class File
Plain text file GLOBAL_FUNCTIONS.PHP Class Generic set of functions

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,315
This week:480Up

For more information send a message to info at phpclasses dot org.