edawg Posted October 20, 2006 Share Posted October 20, 2006 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 sitefor 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 :) Quote Link to comment https://forums.phpfreaks.com/topic/24505-php-and-other-sites/ Share on other sites More sharing options...
.josh Posted October 20, 2006 Share Posted October 20, 2006 [url=http://us2.php.net/manual/en/function.file-get-contents.php]file_get_contents()[/url] and some regexing will do the trick Quote Link to comment https://forums.phpfreaks.com/topic/24505-php-and-other-sites/#findComment-111629 Share on other sites More sharing options...
obsidian Posted October 20, 2006 Share Posted October 20, 2006 you also probably want to do a google search on [b]screen scraping[/b] to get all the content of another site. Quote Link to comment https://forums.phpfreaks.com/topic/24505-php-and-other-sites/#findComment-111808 Share on other sites More sharing options...
edawg Posted October 20, 2006 Author Share Posted October 20, 2006 thats great!!!!, thank you very much guys!!!!. will start looking into it. :) Quote Link to comment https://forums.phpfreaks.com/topic/24505-php-and-other-sites/#findComment-112043 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.