\n\n"; $cachecontent .= file_get_contents("http://".$_SERVER["HTTP_HOST"]."/modules/magicbox.php?module=affnews&titleonly=1&BoxNbMaxNews=$totalnews&NbMaxNews=$totalnews&cropdate=10&bodyclass=centerbody&start=$totalnews&titre=Old%20news%20from%20the%20Tourmentine&lang=$lang"); $cachecontent .= "\n\n\n"; $cachecontent = str_replace("","?>",$cachecontent); $fp = fopen($cachefile,"w"); fwrite($fp,$cachecontent); fclose($fp); } include $cachefile; ?>