Redirect with delay

I’m trying to create a thanks page for my site that will load when a user has submitted a form… How would i go about getting the thanks.php page to redirect to a page after a certain amount of time?


I know of 2 ways you can do it…

Meta Refresh, Should be able to find something about this using google.
header(‘Refresh: 3; url=index.html’);

You could always add the script that the form uses to the thanks you page and point the form to that.

You could then add a succesful message or a fail message.

I used a meta refresh in the end.

Works spot on.

Just put this in the head

Thanks guys.

Sponsor our Newsletter | Privacy Policy | Terms of Service