Page 1 of 1

showing data from another site

Posted: Mon Jun 02, 2008 12:46 pm
by mahmud_03
how can I show data into my site obtaining from other sites.

as for example: I want to show some dynamic data of cricinfo.com. into my site. How can it be possible?

Re: showing data from another site

Posted: Mon Jun 02, 2008 2:27 pm
by deejay
you can grab the page using fopen http://uk.php.net/fopen.

You'd then need to find your way through the string for the bits you want to use. I would have thought regex would be the way forward. Although I'm no expert.