Preventing Multiple Submits - Kevin Waterson

Courtesy Planet PHP  Sat, 09/13/2008 - 14:04

The problem of multiple form submissions is quite common in PHP. Many people use forms for database interactions and emailing etc, but when the form is submitted, the page can be refreshed and the POST data, or file uploads is POSTed once again.

This tutorial brings an easy remedy to the issue with the use of form tokens and sessions.


 

More related items

Class Hierachies And Overriding - Kevin Waterson
The PHP Object Oriented method of programming brings many exciting possiblities to application code. Many of the theories surrounding PHP Object...

PHPro.org: SPL Autoload
On the PHPro.org website, Kevin Waterson has written up an introduction to the handy autoloading functionality that comes with PHP5 releases - the...

SQLite-ON DUPLICATE KEY UPDATE - Kevin Waterson
SQLite is an ultra lite database replacement that comes bundled with PHP. Because of its light weight it lacks many of the features found in more...

Calculate Installment Payment Regime - Kevin Waterson
This PHP function calculates the number of installments required to pay a given amount. It will also calculate the last payment which is always lower...

Samsung SyncMaster 220WM 22" LCD Monitor
The space-saving Samsung 220WM widescreen monitor has built-in multimedia speakers that produce crystal-clear sound. Want more room for your images...

Palm 3245WW Wireless Bluetooth Keyboard
When you're on the move, sometimes you need a faster way to compose longer messages, reports, and even spreadsheets. This compact yet full-size...

PalmOne Tungsten T5 Handheld
With 256MB (215MB available) of storage, the Tungsten T5 handheld from palmOne lets you carry more and do more. Word documents. Spreadsheets....


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com