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: 204 This week: 1All time: 8,434 This week: 560Up
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: 53
All time rank: 4125182 in United Kingdom
Week rank: 411 Up12 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:204
This week:1
All time:8,434
This week:560Up