Ottimo! ho risolto con le cURL:
Codice PHP:
function get_remote_feeds($file_r,$file_l){
if (function_exists('curl_init')) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $file_r);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 5.1; it; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3');
$feed = curl_exec($ch);
curl_close($ch);
} else {
echo "cURL lib not exists";
exit;
}
$file=fopen($file_l,"w");
fwrite($file,$feed);
fclose($file);
}