"patientenstammblatt.pdf", "102" => "antrag-kostenzuschuss.pdf", "103" => "datenschutz.pdf"); $filename = "files/".$files[$_GET[fileid]]; header("Content-Type: x-type/subtype"); header("Content-Length: ".filesize($filename)); header("Content-Disposition: attachment; filename=".$files[$_GET[fileid]]); readfile($filename); ?>