sphinx Posted December 11, 2010 Share Posted December 11, 2010 Is There a script which can be used that will grab constantly updated information from a certain website, and output it onto your own website? By constantly, I mean like: 23 Hours, 13 Minutes and 3 seconds ago. Surely this can be done some how? Thanks Could I use: $page_contents = file_get_contents("http://www.example.com"); if i wanted to look for <td>time:</td> $matches = array(); preg_match('CODE TO LOOK FOR HERE?', $page_contents, $matches); echo $matches[0]; Link to comment https://forums.phpfreaks.com/topic/221335-grabbing-constantly-updating-information-from-a-website/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.