0){ $message = fread($fh, filesize($myFile)); } fclose($fh); $message = htmlentities($message); if(strpos($message,"\n\r")>-1){ $message = str_replace("\n\r","
",$message); } if(strpos($message,"\r\n")>-1){ $message = str_replace("\r\n","
",$message); } if(strpos($message,"\r")>-1){ $message = str_replace("\r","
",$message); } if(strpos($message,"\n")>-1){ $message = str_replace("\n","
",$message); } if(file_exists('config/splash.flv')){ $splash =<<Get the Flash Player to see this player. ENDVAR; } elseif(file_exists('config/splash.jpg')){ $splash = ""; } else{ $splash = ""; } $page_data = <<
$splash
$message
ENDVAR; include('includes/template.php'); ?>