PHP Classes

Classes of Gabriel Harrison

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Gabriel Harrison (1)  >  Mission progress status  >  Reputation  
Picture of Gabriel Harrison
Name: Gabriel Harrison <contact>
Classes: 1
Country: United Kingdom
Age: 47
All time rank: 163073 in United Kingdom
Week rank: 178 Up5 in United Kingdom Up
All time users: 1779
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 Form Data Cleaner  
Sanitise GET and POST values based on type rules
This class can be used to sanitise GET and POST values based on expected data type rules.

It takes a list of GET and POST request parameters that it should analyse and the respective data types that it expects. Currently it supports the types: integer, double, string, boolean and array.

String values may be escaped for use in MySQL queries or display in HTML pages without further encoding by the application.

Missing or invalid values may be overwritten with default values.

Any request values that are not listed may either be removed or subject to default processing.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 80% 80% - - - - 48% 3020
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