Login   Register  
PHP Classes
elePHPant
Icontem

requestUtils: Retrieve and sanitize user submitted request data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-10-31 (9 years ago) RSS 2.0 feedStarStarStar 58%Total: 2,305 All time: 1,563 This week: 1,479Up
Version License Categories  
pcgrequestutils 1.0GNU General Public Lice...HTTP, Security
Description Author  

This class acts a central place to retrieve user submitted data to a page access via the request, form inputs or cookies.

Instead of using the super-global variables $_POST, _$GET, $_REQUEST and $_COOKIE, this class can be used instead so the submitted data can be sanitized to prevent well known security attacks like cross-site scripting and SQL injections.

It may also check whether magic quotes option is enabled and eventually add escape slashes characters.

Picture of Nilesh Dosooye
Name: Nilesh Dosooye <contact>
Classes: 4 packages by
Country: Mauritius Mauritius
Age: 37
All time rank: 5801 in Mauritius Mauritius
Week rank: 1102 Down1 in Mauritius Mauritius Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example example of requestUtils Usage
Accessible without login Plain text file README.txt Doc. Documentation and Class Usage
Plain text file requestUtils.class.php Class the reqiestUtils Class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:2,305All time:1,563
 This week:0This week:1,479Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:61%StarStarStarStar
Examples:65%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:996