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.
Post new comment