Jump to content

Archived

This topic is now archived and is closed to further replies.

ditusade

Copying pages from other web sites

Recommended Posts

Hi,
Just wanted to know if anyone knows how to extract data on other web sites as and when they get refreshed using PHP or other tools.
E.g If I want to capture all new posting on a particular forum/feedback page and wanted to format the data for my purpose.
Any suggestions will be greatly appreciated
Thanks
Dave

Share this post


Link to post
Share on other sites
to get the contents of another webpage somewhere else:

$content = file_get_contents('http://www.blah.com');

then you will need to use something like preg_match to search $content for what you are looking for.

Share this post


Link to post
Share on other sites

×

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.