Anidazen Posted January 22, 2007 Share Posted January 22, 2007 I know this sounds like the most simplistic, ridiculous task, but I've tried everything and searched for ages. NO idea why I can't seem to do it.I've got a page that loads an iframe containing a PHP script. Once the script has done, I want the iframe to go to a different URL.However, PHP redirect sends the parent's location, as does just about everything else I've tried. I've found NOTHING that can automatically redirect the iframe itself, and not the parent. It's insane!Anyone able to help? Link to comment https://forums.phpfreaks.com/topic/35244-redirecting-iframe-to-new-url/ Share on other sites More sharing options...
fenway Posted January 22, 2007 Share Posted January 22, 2007 Why not just use onload? Link to comment https://forums.phpfreaks.com/topic/35244-redirecting-iframe-to-new-url/#findComment-166674 Share on other sites More sharing options...
Anidazen Posted January 23, 2007 Author Share Posted January 23, 2007 I eventually figured this out. Redirecting within a frame should be simple... and it turns out that it is.The issue wasn't with my script, turns out the site I was redirecting to was causing the problems with script on their own site. Link to comment https://forums.phpfreaks.com/topic/35244-redirecting-iframe-to-new-url/#findComment-166822 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.