Jump to content

Archived

This topic is now archived and is closed to further replies.

czukoman20

Redirect to page.

Recommended Posts

ok i know this much about how to redirect to another page.. the only issue that i have with

<?php
header( 'Location: http://www.yoursite.com/new_page.html' ) ;
?>

this only works if its used before html. .and since i have an html template.. how would i be able to run this at a specific time.. For example, a user will submit a form .. then after the submission form, they get redirected to a different page.

 

How could i do this

help appreciated thanks

Share this post


Link to post
Share on other sites

I guess you could add this to the html page

<meta http-equiv="refresh" content="5; url=somesite.com" />

That's what I do..  ::)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.