czukoman20 Posted March 11, 2008 Share Posted March 11, 2008 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 Link to comment https://forums.phpfreaks.com/topic/95710-redirect-to-page/ Share on other sites More sharing options...
dotBz Posted March 11, 2008 Share Posted March 11, 2008 I guess you could add this to the html page <meta http-equiv="refresh" content="5; url=somesite.com" /> That's what I do.. Link to comment https://forums.phpfreaks.com/topic/95710-redirect-to-page/#findComment-490031 Share on other sites More sharing options...
czukoman20 Posted March 11, 2008 Author Share Posted March 11, 2008 ok that works. Link to comment https://forums.phpfreaks.com/topic/95710-redirect-to-page/#findComment-490046 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.