Jump to content

read IFRAME content from an external site


abdfahim

Recommended Posts

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,

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,

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.