function get_mine_type($exp){ $exp = strtolower($exp); static $mime_type; if(!is_array($mime_type)){ $mime_type = array(); $mime_type['dwg']='application/acad'; $mime_type['ccad']='application/clariscad'; $mime_type['dxf']='application/dxf'; $mime_type['mdb']='application/msaccess'; $mime_type['doc']='application/msword'; $mime_type['bin']='application/octet-stream'; $mime_type['pdf']='applicati..