I have a form for uploading images, and when I submit the form, and clicks the back button, the form executes again.
How do I keep that from happening?
form.php
<form action = 'action.php' method = 'POST'>
<input type = 'button' value = 'click me'>
</form>
action.php
//executes some codes...
//header off to home.php
Note:
It doesn't even have a pop-up that says something like:
"You're about to resubmit your form. Click OK to continue."