kevincro Posted November 6, 2007 Share Posted November 6, 2007 I've coded a form in HTML and I use PHP to process the info. What I'd like to know is how I can make to where the form can only be submitted once. I have a problem at the moment with the form being submitted by users hitting the back button and the refresh button. Thanks KC Link to comment https://forums.phpfreaks.com/topic/76289-form-help/ Share on other sites More sharing options...
teng84 Posted November 6, 2007 Share Posted November 6, 2007 use header file to remove the post data header () Link to comment https://forums.phpfreaks.com/topic/76289-form-help/#findComment-386178 Share on other sites More sharing options...
kevincro Posted November 6, 2007 Author Share Posted November 6, 2007 I'm not sure how to do that Link to comment https://forums.phpfreaks.com/topic/76289-form-help/#findComment-386180 Share on other sites More sharing options...
teng84 Posted November 6, 2007 Share Posted November 6, 2007 after you process your data with that (post) add the header eg... sql(insert....) blah blah header('location : yourpagehere.php'); exit(); Link to comment https://forums.phpfreaks.com/topic/76289-form-help/#findComment-386185 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.