The form gets submitted. But after that when I refresh it firefox gives this message "To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier." and gives two options "Resend" or "Cancel".
It does not happen with the form with "GET" method.
My code for form.php is as follows.
<html>
<body>
<form action="" method="POST" enctype="multipart/form-data">
<input type="file" name="image">
<input type="submit" value="Submit">
</form>
</body>
</html>
I guess the solution for this lies in "Redirect after POST" (php) or form.reset()...(javascript) or HTML
I have gone through many articles but I am unable to implement it as there is lot of theory available but no working example. I hope you guys and this site can help me. It would be the biggest achievement for me if I get success in it. Thank you!!