How can I stop a php form from being processed twice?
I am writing a web site and using PHP and MySQL database. I have developed a form. When this is submitted the browser is pointed to another php page which processes the input and thanks the visitor. I have found a problem. If the visitor refreshes the browser the data will be processed again. How can I ensure that the processing page cannot be run again when the user refreshes their browser?
Ray Wilks March 2004
David if the user hits their Back Button the form will submit again. How would you stop this happening?
Jon February 2005
If you have ever used a PHP-based discussion board then you would see how they deal with it, they create an intermediate page which does the saving and then redirect the user from their to the next page.
The intermediate page will usually say something like "Thanks for logging on, you are now being redirected back to the forum".
Of course, if they refreshed on this page then it would do the same double-post, but it is unlikely they will refresh during the second or two that redirection is taking place :)
which software do i require to configure the channels to my t-999 thunderbo?my receiver requires a software reconfiguire the lost channels now which software is required for my t-999 free to air thunderbolt receiver?...Click here for how to mend it.
How to zip files?I have a bulk of files to send but they are too heavy to be sent via e-mail. How can I zip them?...Click here for the repair.
How to make puzzles?I know there is a program that can make a puzzle of the words you choose yourself. Can you help me find it?...Click here for the fix.
how can i update mypsp version?i have new umd game disk and my psp is asking to update it.if i update the psp, the games which are in the memory card will support further after updating the version?...Click here for the fix.
I had TCB.cc toolbar?I had the TCB.cc toolbar and then had to do a sysytem restore because of conflict with another application (which i have removed).
Now when I try to download the following message appears. Could not contact. WISE0 132.dll to ‘C:\DOCUME˜1\GREGMC˜1\LOCALS-1\Temp\GLC.78.tmp’, CRC does not match
...Click here for the fix.
repairs can be dangerous.
In many instances work should only be undertaken by a qualified
professional. Ensure you have read our Small
Print page before using information supplied via this website.