PHP Classes

Packages of Anthony Gallon

Recommend this page to a friend!
  All class groups  >  All authors  >  Packages of Anthony Gallon (2)  >  Mission progress status  >  Reputation  
Picture of Anthony Gallon
Name: Anthony Gallon is available for providing paid consulting. Contact Anthony Gallon .
Classes: 2
Country: New Zealand New Zealand
Age: ???
All time rank: 168210 in New Zealand New Zealand
Week rank: 195 Up3 in New Zealand New Zealand Up
All time users: 1711
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 Antz_IntelliForm  
PHP Programming Innovation award nominee
May 2007
Number 2


Prize: One subscription to the PDF edition of the magazine by PHP Architect
Save submitted forms to prevent reposting warnings
This class can be used to prevent form reposting warnings by saving submitted form data.

It saves the values of forms submitted using the POST method to session variables for a given length of time.

Then it makes the browser redirect to the same page forcing a new request, this time using the GET method.

The form values previously submitted using the POST method are restored from the session variables.

This way, when the user returns to this page using the browser reloading the page or using the back button the browser willing display warnings saying "Are you sure you want to resubmit the form?"

The class can also generate hidden inputs with random values also stored in session variables to prevent Cross-site request forgery exploit attempts.
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 82% 85% - 75% - - 57% 1720
Month: Not yet rated by the users

  Files folder image Antz_TagFilter  
Strip malicious tags from HTML documents
This class can be used to strip malicious tags from HTML documents.

It takes as parameters lists of authorized and denied tags and attributes.

The class parses an HTML document to keep authorized tags and removing denied tags and attributes combinations.

It returns the HTML of the resulting filtered document.
Not enough user ratings


  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