Fratozzi Posted November 30, 2019 Share Posted November 30, 2019 hello everyone, I have a php form, everything works, I do not carry any header() at the end of the form because I have to stay on the same page and because I feel it wipes out the message you sent the form successfully, but for this though if reloading the page shows me the popup asking me to resend the form. how can i solve? I found a function in js with replacestate but I saw that it doesn't work with mobile Safari. if ( window.history.replaceState ) { window.history.replaceState( null, null, window.location.href ); } Quote Link to comment Share on other sites More sharing options...
benanamen Posted November 30, 2019 Share Posted November 30, 2019 PRG - Post, Redirect, Get https://en.wikipedia.org/wiki/Post/Redirect/Get 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.