Jump to content

Meta Refresh Inside Iframe?


starvinmarvin14

Recommended Posts

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

Archived

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

×
×
  • Create New...

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.