--- html/download.php 2004-08-13 13:22:05.000000000 -0500 +++ html/download.php-fixed 2004-08-23 13:50:34.057529360 -0500 @@ -47,7 +47,13 @@ header('Cache-Control: cache'); header("Cache-control: private"); header("Content-type: ".$hm_input['type'].'/'.$hm_input['subtype']); -header("Content-Disposition: filename=\"".trim($hm_input['name'])."\""); +if ($hm_input['type'] == 'application' && $hm_input['subtype'] == 'octet-stream') { + header("Content-Disposition: attachment; filename=\"". + trim($hm_input['name'])."\""); +} +else { + header("Content-Disposition: filename=\"".trim($hm_input['name'])."\""); +} if (!isset($hm_input['decode'])) { $decode = false;