PHP Classes

Classes of Daniel Morris

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Daniel Morris (1)  >  Mission progress status  >  Reputation  
Picture of Daniel Morris
Name: Daniel Morris <contact>
Classes: 1
Country: United Kingdom
Age: 41
All time rank: 836 in United Kingdom
Week rank: 190 Down5 in United Kingdom Up
All time users: 20645
Week users: 0
Innovation award
Innovation award
Nominee: 1x
 
  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 PHP Input Filter  
PHP Programming Innovation award nominee
March 2005
Number 4


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Filter out unwanted PHP / Javascript / HTML tags.
This class can filter input of stray or malicious PHP, Javascript or HTML tags and to prevent cross-site scripting (XSS) attacks. It should be used to filter input supplied by the user, such as an HTML code entered in form fields.

I have tried to make this class as easy as possible to use. You have control over the filter process unlike other alternatives, and can input a string or an entire array to be cleaned (such as $_POST).

** SQL Injection feature has been added.


  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