sridhar golyandla Posted May 20, 2010 Share Posted May 20, 2010 Code : <iframe src='https://www.websites.com/process.php' width='400' height='500' scrolling='yes'></iframe> In my page (test.html) i have inserted the above code. After loading the page, it directs to the "https://www.websites.com/process.php", it is a 3rd party page, and opened these page on the browser. Now i have a question "How to restrict in my page (test.html) to open the iframe in the page (test.html)." Link to comment https://forums.phpfreaks.com/topic/202363-iframes/ Share on other sites More sharing options...
phpchamps Posted May 20, 2010 Share Posted May 20, 2010 post full code plz.. Link to comment https://forums.phpfreaks.com/topic/202363-iframes/#findComment-1061047 Share on other sites More sharing options...
sridhar golyandla Posted May 20, 2010 Author Share Posted May 20, 2010 "process.php" is a external server page. I don't have code. Code in my page : <iframe src='https://www.websites.com/process.php' width='400' height='500' scrolling='yes'></iframe> Link to comment https://forums.phpfreaks.com/topic/202363-iframes/#findComment-1061049 Share on other sites More sharing options...
ram4nd Posted June 5, 2010 Share Posted June 5, 2010 use double quotes(") instead of singles('). That's the standard and browsers might not render correctly the html. I bet most of IE's won't. Link to comment https://forums.phpfreaks.com/topic/202363-iframes/#findComment-1068342 Share on other sites More sharing options...
Adam Posted June 8, 2010 Share Posted June 8, 2010 People using single quotes has been going on a long time, I'd be surprised if a browser weren't able to handle them (IE certainly can). Most likely it's something that page is doing to break out of the frame (perhaps to stop you putting their page within a frame??). I'm guessing "https://www.websites.com/process.php" isn't the actual URL? Link to comment https://forums.phpfreaks.com/topic/202363-iframes/#findComment-1069350 Share on other sites More sharing options...
Soldier Jane Posted June 15, 2010 Share Posted June 15, 2010 Could it be something to do with the fact that it uses the HTTPS protocol? Link to comment https://forums.phpfreaks.com/topic/202363-iframes/#findComment-1072694 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.