PHP Classes
Icontem

Class: User Input Sanitation


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of nirmit  >  User Input Sanitation  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: User Input Sanitation Support forum
Base name: sanitize
Description: Escape values of request variables
Related top rated classes:
Version: 1.0
Required PHP version: 3.0
License: GNU General Public License (GPL)
All time users: 782 users
All time rank: 2901
Week users: 5 users
Week rank: 1547
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of nirmit
Name: nirmit <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: India India - PHP jobs in India
Home page: ???
Age: ???
All time rank: 1710
Week rank: 1041

Groups

Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image Text processing Manipulating and validating text data View top rated classes

Detailed description

This class can be used to escape values of request variables.

It traverses the arrays of request super-global variables $_GET, $_POST, $_REQUEST and $_COOKIE.

The class escapes the values of the request variables add escape slashes characters to quotes, backslashes and NUL characters, so the values can be used in database queries without further escaping.

As I have closely watched PHPClasses for a long time now, I must say that I never saw a class which is simple yet very effective in sanitizing user input which is a major security concern for every web application. I have used simple logic and methods to clean malicious input and make database interaction a bit safer.

User ratings

There are not enough user ratings to display for this class.

Applications that use this class

No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

File Role Description
Plain text file class.sanitize.php Class This is the class file which does all the sanitation work.
Plain text file example.php Example This is a working example of the class
Download all files: sanitize.tar.gz sanitize.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products