Ads Posted November 8, 2007 Share Posted November 8, 2007 I have a home page of a webpage, with an iframe, and ever link on the page goes through the Iframe. One of these Links are a Login, and when the login is Done, and You log in corrently i want it to use a Freash page outside of the iframe I am useing this at the Momemnt. header("Location: main.php"); but that does it in the Iframe. Link to comment https://forums.phpfreaks.com/topic/76492-header/ Share on other sites More sharing options...
rajivgonsalves Posted November 8, 2007 Share Posted November 8, 2007 you'll have to use javascript <script> top.document.href = "main.php"; </script> in your iframe Link to comment https://forums.phpfreaks.com/topic/76492-header/#findComment-387430 Share on other sites More sharing options...
Ads Posted November 8, 2007 Author Share Posted November 8, 2007 Na doesn't work. Just reloads the Frame. Link to comment https://forums.phpfreaks.com/topic/76492-header/#findComment-387433 Share on other sites More sharing options...
rajivgonsalves Posted November 8, 2007 Share Posted November 8, 2007 well basically speaking I do not know why you require iframes ? Link to comment https://forums.phpfreaks.com/topic/76492-header/#findComment-387559 Share on other sites More sharing options...
Ads Posted November 10, 2007 Author Share Posted November 10, 2007 I don;t Require them, They Just look cool Link to comment https://forums.phpfreaks.com/topic/76492-header/#findComment-388534 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.