starvinmarvin14 Posted April 30, 2012 Share Posted April 30, 2012 I have a page with an iframe in it like so. <iframe src="page.php" width="100" height="100"></iframe> The page.php file, I have a meta refresh in it. <meta http-equiv="refresh" content="2; url=http://www.blah.com"> Now when I load the website, it doesn't refresh the page.php iframe. It just stays loaded without refreshing. How can I reload an iframe without the user clicking on a link inside the iframe?? I also tried a header redirect but that didn't work. Thanks. Link to comment https://forums.phpfreaks.com/topic/261863-meta-refresh-inside-iframe/ Share on other sites More sharing options...
starvinmarvin14 Posted April 30, 2012 Author Share Posted April 30, 2012 Nevermind, I know what's wrong. The site is blocked from using iframes. Link to comment https://forums.phpfreaks.com/topic/261863-meta-refresh-inside-iframe/#findComment-1341791 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.