PHP Classes

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: 201 All time: 8,445 This week: 325Up
Version License PHP version Categories
parameters 1.0BSD License5.0HTTP, PHP 5, Console, Validation


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.

Picture of Robert Atkinson
  Performance   Level  
Name: Robert Atkinson <contact>
Classes: 1 package by
Country: United Kingdom
Age: 52
All time rank: 4121182 in United Kingdom
Week rank: 568 Up19 in United Kingdom Up

  • ParametersTest_Code.jpg
  • ParametersTest_Output.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,445
This week:325Up