"application/msword", "htm"=>"text/html", "html"=>"text/html", "xlm"=>"application/vnd.ms-excel" ); return @$file2mime[$file]; } include($_SERVER['DOCUMENT_ROOT']."/mysql_inc.php"); echo mysql_result(mysql_query("SELECT content FROM report WHERE id = '".intval($_REQUEST['id'])."'"), 0); mysql_close($connexion); ?>