abdfahim Posted February 1, 2011 Share Posted February 1, 2011 Dear, I have page1.php where there is a iframe with source page2.php. How can I read page2.php? Both the pages are in external website, and if I directly point www.thatsite.com/page2.php, it shows blank page (no error). But if I load www.thatsite.com/page1.php in FIREFOX and use SAVE FRAME AS function, it does save page2.php successfully. Thanks, Quote Link to comment Share on other sites More sharing options...
abdfahim Posted February 1, 2011 Author Share Posted February 1, 2011 Hi, is it possible? anybody has any idea? Thanks, Quote Link to comment Share on other sites More sharing options...
BlueSkyIS Posted February 1, 2011 Share Posted February 1, 2011 i suspect page2.php is using javascript to make sure it's inside a frame. but can't tell without seeing it. Quote Link to comment Share on other sites More sharing options...
abdfahim Posted February 2, 2011 Author Share Posted February 2, 2011 The link is http://www.dsebd.org/latest_share_price_scroll_l.php I want to read the price table of the stocks and dump in mysql. Now, the price list is a separate page because 1) If i read this link with file_get_contents or curl, it doesn't return the table 2) If you view the source, you will see a IFRAME embeded 3) There is a cool option in FirFox name "Save Frame As". If you use that, you can save on the table (iframe content) as separate html page. I just need this HTML page. I already have written the code to purse that html page. Thanks, Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.