PHP Classes

requestUtils: Retrieve and sanitize user submitted request data

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (10 years ago) RSS 2.0 feedStarStarStar 58%Total: 2,329 All time: 1,580 This week: 1,153Up
Version License Categories  
pcgrequestutils 1.0GNU General Publi...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: 38
All time rank: 5851 in Mauritius Mauritius
Week rank: 1548 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,329All time:1,580
 This week:0This week:1,153Up
 User Ratings  
 All time