<?php
	$filename = $_POST['file'];
	$file = "../dxf/".$_POST['file'];
	$size = filesize($file);
	header("Content-type: image/vnd.dxf");
	header("Content-Length: ".$size);
	header("Content-Disposition: attachment; filename=".$_POST['file']);
	readfile($file);
?>