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 Quote Link to comment 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 () Quote Link to comment 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 Quote Link to comment 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(); Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.