PHP Classes
Icontem

Class: Antz_IntelliForm


  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 Anthony Gallon  >  Antz_IntelliForm  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Antz_IntelliForm Support forum
Base name: antz_intelliform
Description: Save submitted forms to prevent reposting warnings
Related top rated classes:
Version: -
Required PHP version: 5
License: GNU General Public License (GPL)
All time users: 851 users
All time rank: 2761
Week users: 3 users
Week rank: 1994
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Related links   Files Files  

Author

Picture of Anthony Gallon
Name: Anthony Gallon is available for providing paid consulting. Contact Anthony Gallon .
Published packages: 2 Browse this author's classes Browse this author's classes
Country: New Zealand New Zealand - PHP jobs in New Zealand
Home page: http://www.antzcode.com/
Age: ???
All time rank: 1482
Week rank: 923

Innovation Award

PHP Programming Innovation award nominee
May 2007
Number 2
When an user needs to reload a page that was generated after submitting a form using the POST method, usually the browsers present a warning asking the user if he really wants to resubmit the form.

This kind of warnings is often annoying and confusing for the users. This class provides a solution to avoid these warnings, eventually making the user experience with the site more pleasant.

Manuel Lemos

Groups

Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Security Security protection and attack detection View top rated classes

Detailed description

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.

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Good (83.3%)
Good (91.7%)
-
Sufficient (66.7%)
-
-
Not sure (57.5%)
872
Month:
Not yet rated by the users

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.

Related links

Link Description
Documentation Explains the class more thoroughly and gives examples of how to use with various programming techniques

Files

File Role Description
Plain text file Antz_IntelliForm.php Class Now takes a unique identifier in ::seed() and submitted() to provide multiple forms per page
Plain text file example.php Example Example of usage
Plain text file IntelliForm.php Class Class file -- deprecated
Download all files: antz_intelliform.tar.gz antz_intelliform.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