hakimserwa Posted July 8, 2012 Share Posted July 8, 2012 I have made a form and it posts on its self , its working propery but one problem that i have is if you do a refresh on the form after registration, the same data will be resubmitted. any idea? Quote Link to comment https://forums.phpfreaks.com/topic/265384-form-post-on-page-load/ Share on other sites More sharing options...
redarrow Posted July 8, 2012 Share Posted July 8, 2012 lots of real programmers now days add the famous capcha. it the real only way to solve the problem. http://www.codewalkers.com/c/a/Miscellaneous/Creating-a-CAPTCHA-with-PHP/ Quote Link to comment https://forums.phpfreaks.com/topic/265384-form-post-on-page-load/#findComment-1360115 Share on other sites More sharing options...
xyph Posted July 8, 2012 Share Posted July 8, 2012 I have made a form and it posts on its self , its working propery but one problem that i have is if you do a refresh on the form after registration, the same data will be resubmitted. any idea? Post, redirect, get. Can't have it post to itself any more though. http://en.wikipedia.org/wiki/Post/Redirect/Get Quote Link to comment https://forums.phpfreaks.com/topic/265384-form-post-on-page-load/#findComment-1360132 Share on other sites More sharing options...
hakimserwa Posted July 10, 2012 Author Share Posted July 10, 2012 I have made a form and it posts on its self , its working propery but one problem that i have is if you do a refresh on the form after registration, the same data will be resubmitted. any idea? Post, redirect, get. Can't have it post to itself any more though. http://en.wikipedia.org/wiki/Post/Redirect/Get I will try this and i will let you know thanx. Quote Link to comment https://forums.phpfreaks.com/topic/265384-form-post-on-page-load/#findComment-1360498 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.