PHP Classes

Parameters: Validate command line or HTTP request parameters

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 205 All time: 8,434 This week: 68Up
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

Screenshots (2)  
  • ParametersTest_Code.jpg
  • ParametersTest_Output.jpg
  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:205
This week:0
All time:8,434
This week:68Up