file_get_contents should get the contents of the entire page, though if you want only a certain part of the data, you will need to use regular expressions
also, in order to use file_get_contents on a url, you will need to give your php server the ability to get a page from a remote server(which I cant remember the command to do so)