Ti suggerisco di iniziare leggendo il manuale ufficiale:

http://www.php.net/file_get_contents

Tip

A URL can be used as a filename with this function if the fopen wrappers have been enabled. See fopen() for more details on how to specify the filename and List of Supported Protocols/Wrappers for a list of supported URL protocols.