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 :) 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 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. 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. :) Link to comment https://forums.phpfreaks.com/topic/24505-php-and-other-sites/#findComment-112043 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.