PHP Classes

Request Data: Retrieve and process request parameters

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 666 All time: 4,846 This week: 673Up
Version License PHP version Categories
request_data 1.0GNU General Publi...4.0HTTP
Description 

Author

This class can be used to retrieve and process request values from super-global variables.

It can retrieve request values from $_ENV, $_GET, $_POST, $_COOKIE, $_SERVER, $_REQUEST and convert the values to several data types: integer, boolean, strings, float.

The class can also retrieve request headers from $_SERVER variables with names that start with HTTP_ .

The class may also escape values for use in HTML pages to avoid cross-site scripting attacks, as well remove slashes from the values when magic quotes option is on.

Picture of Joshua Townsend
Name: Joshua Townsend <contact>
Classes: 3 packages by
Country: United States United States
Age: 33
All time rank: 21925 in United States United States
Week rank: 215 Up24 in United States United States Up

  Files folder image Files (5)  
File Role Description
Accessible without login Plain text file doc.txt Doc. Documentation on all methods
Accessible without login Plain text file example.advanced.php Example Example of more advanced use
Accessible without login Plain text file example.basic.php Example Example of basic use
Accessible without login Plain text file example.custom_modes.php Example Example of using custom modes to point to your own data
Plain text file request.class.php Class The main class

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:666
This week:0
All time:4,846
This week:673Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:56%StarStarStar
Documentation:62%StarStarStarStar
Examples:56%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2469