PHP Classes

Classes of nirmit

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of nirmit (1)  >  Mission progress status  >  Reputation  
Picture of nirmit
Name: nirmit <contact>
Classes: 1
Country: India India
Age: ???
All time rank: 1943119 in India India
Week rank: 180 Up21 in India India Up
All time users: 1383
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image User Input Sanitation  
Escape values of request variables
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.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 56% 56% - 62% - - 40% 3819
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z