salve ho provato questo script sul mio sito e funziona...
Sull' hosting dove verrà pubblicato il sito mi da erroreCodice PHP:
<?php
$filename="http://www.un.org/apps/news/rss/rss_UN_News.asp?Body=Rape&Body1=Sexual+Violence";
$handle = fopen($filename, "r");
$xml = "";
while (!feof($handle)) {
$xml .= fread($handle, 8192);
}
fclose($handle);
$file='rss_UN_News.xml';
$fp = fopen( $file, 'w+');
fwrite($fp, $xml);
fclose($fp);
?>
http://www.stoprapenow.org/stoprape.php
come posso risolvere?