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 51%Total: 666 This week: 1All time: 4,844 This week: 560Up
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: 32
All time rank: 21825 in United States United States
Week rank: 411 Down48 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  
 0%
Total:666
This week:1
All time:4,844
This week:560Up
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:56%StarStarStar
Documentation:62%StarStarStarStar
Examples:56%StarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2430