Forum Moderators: coopster
header("Location: $newurl");
See the header [us3.php.net] manual entry.
-sned
header("HTTP/1.1 302 Found");
header("Location: $newurl");
On a new project, I've begun separating code to process form data from code to display the next page. The page processing the data redirects to the next page via the method above, and if the user hits refresh any POST data is not resubmitted (at least in IE).