Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: incrediBILL
I've got a form
<form name="bla" method="POST" action="index.php">
after hitting submit button I want to parse the data and redirect again (to disable refresh button)
<meta http-equiv="refresh" content="0;url=http://example.com/index.php">
However this does not work as expected, yes, it redirects fine, but on hitting refresh button the POST is being still sent.
Do you know why?
I am using Mozilla, but the same happens on IE, opera I haven't tested.
// do stuff with $_POST data
header("Location: http://www.example.com/test.php"); // Redirect browser
Page 1 with Form -> Submit to Page 2 -> Parse and send back to page 1
Hitting refresh should not resend form data.