Jump to content

Archived

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

edawg

PHP and other sites

Recommended Posts

Hi, im brand new to php, learning as much as I can, my question is.....

Is there a way I can use php to access another sites content, and return it back to my site, almost like a search of an external site
for a specific thing, and if its found, then the results are returned to me which will enable me to edit it, or just be able to show it?.

Thanks for your time :)

Share this post


Link to post
Share on other sites
[url=http://us2.php.net/manual/en/function.file-get-contents.php]file_get_contents()[/url] and some regexing will do the trick

Share this post


Link to post
Share on other sites
you also probably want to do a google search on [b]screen scraping[/b] to get all the content of another site.

Share this post


Link to post
Share on other sites
thats great!!!!, thank you very much guys!!!!. will start looking into it. :)

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.