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