Non utilizzare file_get_contents, utilizza le funzioni http://www.php.net/curl oppure http://www.php.net/fsockopen