array( 'method'=>"GET", ) ); $context = stream_context_create($opts); /* Sends an http request to www.example.com with additional headers shown above */ $fp = fopen($file, 'r', false, $context); echo fpassthru($fp); fclose($fp); #$xml = file_get_contents($file); #$xml = simplexml_load_file($file); #print_r($xml); ?>