Where do I add this code?
Read the boards and understand the need for the redirect code - but where do I put it? I am sending an email and want the user to go to a success/thankyou page. This lets them know the message was sent. My action is on the same page as the form (self action).
If you are just uploading a file and aren't using the data in any other way, then you could manually add redirect code like:
if (isset($_POST("submitbuttonname"))) header("location: thankyoupage.php");