showing data from another site

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
mahmud_03
Forum Newbie
Posts: 2
Joined: Sat Mar 01, 2008 8:22 pm

showing data from another site

Post 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?
User avatar
deejay
Forum Contributor
Posts: 201
Joined: Wed Jan 22, 2003 3:33 am
Location: Cornwall

Re: showing data from another site

Post 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.
Post Reply