thusi02 Posted July 13, 2007 Share Posted July 13, 2007 Hi, I guess the subject says it all. Can someone direct me to a code that will go to another page and retrieve the html source for parsing within a php script? Thank you Regards, Thusjanthan Kubendranathan Link to comment https://forums.phpfreaks.com/topic/59879-solved-how-to-get-html-code-of-another-page-from-php/ Share on other sites More sharing options...
teng84 Posted July 13, 2007 Share Posted July 13, 2007 ??? is it include??? explain a bit more Link to comment https://forums.phpfreaks.com/topic/59879-solved-how-to-get-html-code-of-another-page-from-php/#findComment-297761 Share on other sites More sharing options...
trq Posted July 14, 2007 Share Posted July 14, 2007 <?php $html = file_get_contents('http://google.com'); ?> Link to comment https://forums.phpfreaks.com/topic/59879-solved-how-to-get-html-code-of-another-page-from-php/#findComment-297804 Share on other sites More sharing options...
thusi02 Posted July 16, 2007 Author Share Posted July 16, 2007 <?php $html = file_get_contents('http://google.com'); ?> Thank you Soo much WOOOOT!... Thusjanthan Kubendranathan Link to comment https://forums.phpfreaks.com/topic/59879-solved-how-to-get-html-code-of-another-page-from-php/#findComment-299662 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.