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: 199 All time: 8,401 This week: 185Up
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.

Picture of Robert Atkinson
  Performance   Level  
Name: Robert Atkinson <contact>
Classes: 1 package by
Country: United Kingdom
Age: 50
All time rank: 4087179 in United Kingdom
Week rank: 518 Up21 in United Kingdom Up

Screenshots  
  • 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  
 0%
Total:199
This week:0
All time:8,401
This week:185Up
For more information send a message to info at phpclasses dot org.