$dir = $dir.$_GET['id'];
header("Content-Type: ".$mime);
-header("Content-Disposition: attachment; filename=".$filename);
+//header("Content-Disposition: attachment; filename=".$filename);
header("Pragma: no-cache");
header("Expires: 0");
header("Content-Length: ".$filesize);