shirvo Posted February 8, 2007 Share Posted February 8, 2007 i have a login form and it does all its stuff and logs the person in but i want to then make it at the end automaticly go to index.php Link to comment https://forums.phpfreaks.com/topic/37557-move-to-different-page/ Share on other sites More sharing options...
Balmung-San Posted February 8, 2007 Share Posted February 8, 2007 Well, if you don't output anything you can use: header("Location: http://www.domain.com/index.php"); If you do output, use a meta-refresh. Link to comment https://forums.phpfreaks.com/topic/37557-move-to-different-page/#findComment-179592 Share on other sites More sharing options...
shirvo Posted February 8, 2007 Author Share Posted February 8, 2007 that didnt work so what is a meta-refresh?? and how do you use them what is the code for it Link to comment https://forums.phpfreaks.com/topic/37557-move-to-different-page/#findComment-179597 Share on other sites More sharing options...
Balmung-San Posted February 8, 2007 Share Posted February 8, 2007 Just google it. You have to output it within the <head> of your HTML output. Link to comment https://forums.phpfreaks.com/topic/37557-move-to-different-page/#findComment-179603 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.