Oh, innanzitutto grazie per aver fatto una prova. Quindi con Chrome funziona tutto e con explorer non funziona solo il Novara? Se qualcuno riesce a fare una prova anche con Opera e magari Safari sarebbe meglio...
Per il fatto che con IE non apre l Novara può essere che usi un componente facoltativo non installato nel sistema, cioè MSXML? O che almeno richieda una versione aggiornata? Come si può ovviare al problema? Posto il codice relativo al Novara e del file a cui punta:
codice:
<TABLE style="WIDTH: 550px; TEXT-ALIGN: left" cellSpacing=0 cellPadding=0 border=0> <TBODY> <TR> <td colspan="20" style="width: 550px; height: 250px; vertical-align: bottom; text-align: center"> <iframe img style="z-index: 1" src="http://kuabba82.altervista.org/img/prob_form/new.php?sq=novara;allowScriptAccess=value=always" frameborder="0" name="I1" marginwidth="1" marginheight="1" align="center" height="250" scrolling="no" width="550" ></iframe></td> </TR> </TBODY> </TABLE>
E questo è di new.php a cui punta l'iframe:
codice:
<?php ob_start(); $link="location: http://kuabba82.altervista.org/campe...one_novara.xml"; header("Cache-Control: no-cache"); header("$link"); ob_end_flush(); function getmicrotime( ){ list( $usec, $sec) = explode( " ", microtime( )); return ( ( float)$usec + ( float)$sec); } $start_time = getmicrotime( ); $content = file_get_contents_curl ('http://www.gazzetta.it/ssi/2011/boxes/calcio/squadre/novara/formazione/formazione.xml'); $FileProxt = 'formazione_novara.xml'; $scrivi_file=fopen($FileProxt,"w"); fwrite($scrivi_file, $content); fclose($scrivi_file); $end_time = getmicrotime( ); function file_get_contents_curl($url) { $ch = curl_init(); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_URL, $url); $data = curl_exec($ch); curl_close($ch); return $data; } ?>