PHP Classes

Request Data: Retrieve and process request parameters

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 665 All time: 4,840 This week: 794Up
Version License PHP version Categories
request_data 1.0GNU General Publi...4.0HTTP


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: 32
All time rank: 21825 in United States United States
Week rank: 438 Down47 in United States United States Down

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,840
This week:794Up
 User Ratings  
 All time