sphinx Posted May 15, 2010 Share Posted May 15, 2010 Hello, Is it possible to detect html change from a certain website on refresh, this would make it quicker than continually going onto the website to check item prices. Thanks. Link to comment https://forums.phpfreaks.com/topic/201887-is-it-possible-for-php-to-do-this/ Share on other sites More sharing options...
jskywalker Posted May 15, 2010 Share Posted May 15, 2010 $h = file_get_contents('http://www.google.com/'); echo $h; Above will show u the completa page of specified url, when u store it in a database, u can do it again, and compare it to the previously stored result. Link to comment https://forums.phpfreaks.com/topic/201887-is-it-possible-for-php-to-do-this/#findComment-1058851 Share on other sites More sharing options...
sphinx Posted May 15, 2010 Author Share Posted May 15, 2010 oh, didnt think it would be that complicated thanks anyways Link to comment https://forums.phpfreaks.com/topic/201887-is-it-possible-for-php-to-do-this/#findComment-1058865 Share on other sites More sharing options...
sphinx Posted May 15, 2010 Author Share Posted May 15, 2010 does it need to be done with a database? Link to comment https://forums.phpfreaks.com/topic/201887-is-it-possible-for-php-to-do-this/#findComment-1058879 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.