Content-type 的说明
$mimetypes = array(
'ez' => 'application/andrew-inset',
'hqx' => 'application/mac-binhex40',
' cpt' => 'application/mac-compactpro',
'doc' => 'application/msword',
'bin' => 'application/octet-stream',
'dms' => '应用程序/八位字节流',
'lha' => '应用程序/八位字节流',
'lzh' => '应用程序/八位字节流',
'exe' => '应用程序/octet-stream',
'class' => '应用程序/八位字节流',
'so' => '应用程序/八位字节流',
'dll' => '应用程序/八位字节-stream',
'oda' => '应用程序/oda',
'pdf' => '应用程序/pdf',
'ai' => '应用程序/postscript',
' eps' => '应用程序/postscript',
'ps' => '应用程序/postscript',
'smi' => '应用程序/smil',
'smil' => '应用程序/smil ',
'mif' => 'application/vnd.mif',
'xls' => 'application/vnd.ms-excel',
'ppt' => 'application/vnd.ms -powerpoint',
'wbxml' => 'application/vnd.wap.wbxml',
'wmlc' => 'application/vnd.wap.wmlc',
'wmlsc' => '应用程序/vnd.wap.wmlscriptc',
'bcpio' => '应用程序/x-bcpio',
'vcd' => '应用程序/x-cdlink',
'pgn' => '应用程序/x-chess-pgn',
'cpio' => '应用程序/x-cpio',
'csh' => '应用程序/x-csh',
'dcr' => '应用程序/x-director',
'dir' => '应用程序/x-director',
'dxr' => '应用程序/x-director',
'dvi' => '应用程序/x -dvi',
'spl' => '应用程序/x-futuresplash',
'gtar' => '应用程序/x-gtar',
'hdf' => '应用程序/x-hdf ',
'js' => 'application/x-javascript',
'skp' => 'application/x-koan',
'skd' => 'application/x-koan',
'skt' => 'application/x-koan',
'skm' => 'application/x-koan',
'latex' => 'application/x-latex',
'nc' => 'application/x-netcdf',
'cdf' => 'application/x-netcdf',
'sh' => 'application/x-sh',
' shar' => '应用程序/x-shar',
'swf' => '应用程序/x-shockwave-flash',
'坐' => '应用程序/x-stuffit',
' sv4cpio' => 'application/x-sv4cpio',
'sv4crc' => 'application/x-sv4crc',
'tar' => 'application/x-tar',
'tcl' => 'application/x-tcl',
'tex' => 'application/x-tex',
'texinfo' => 'application/x-texinfo',
'texi' => '应用程序/x-texinfo',
't' => '应用程序/x-troff',
'tr' => '应用程序/x-troff',
'roff' => '应用程序/x-troff',
'男人' => 'application/x-troff-man',
'me' => 'application/x-troff-me',
'ms' => 'application/x-troff-ms',
'ustar' => 'application/x-ustar',
'src' => 'application/x-wais-source',
'xhtml' => 'application/xhtml xml',
'xht' => '应用程序/xhtml xml',
'zip' => '应用程序/zip',
'au' => '音频/基本',
'snd' => '音频/基本',
'mid' => '音频/midi',
'midi' => '音频/midi',
'kar' => '音频/midi',
'mpga' => '音频/mpeg',
'mp2' => '音频/mpeg',
'mp3' => '音频/mpeg',
'aif' => '音频/ x-aiff',
'aiff' => '音频/x-aiff',
'aifc' => '音频/x-aiff',
'm3u' => '音频/x- mpegurl',
'ram' => 'audio/x-pn-realaudio',
'rm' => 'audio/x-pn-realaudio',
'rpm' => 'audio/ x-pn-realaudio-plugin',
'ra' => '音频/x-realaudio',
'wav' => '音频/x-wav',
'pdb' => '化学/x-pdb',
'xyz' => '化学/x-xyz',
'bmp' => '图像/bmp',
'gif' => '图像/gif' ,
'ief'=>'image/ief',
'jpeg'=>'image/jpeg',
'jpg'=>'image/jpeg',
'jpe'='= > '图片/jpeg',
'png' => '图片/png',
'tiff' => '图片/tiff',
'tif' => '图片/tiff',
'djvu' => 'image/vnd.djvu',
'djv' => 'image/vnd.djvu',
'wbmp' => 'image/vnd.wap.wbmp',
'ras' => 'image/x-cmu-raster',
'pnm' => 'image/x-portable-anymap',
'pbm' => 'image/x-portable-位图',
'pgm' => 'image/x-portable-graymap',
'ppm' => 'image/x-portable-pixmap',
'rgb' => 'image/ x-rgb',
'xbm' => '图像/x-xbitmap',
'xpm' => '图像/x-xpixmap',
'xwd' => '图像/x- xwindowdump',
'igs' => '模型/iges',
'iges' => '模型/iges',
'msh' => '模型/网格',
'网格' => '模型/网格',
'筒仓' => '模型/网格',
'wrl' => '模型/vrml',
'vrml' => '模型/vrml' ,
'css' => '文本/css',
'html' => '文本/html',
'htm' => '文本/html',
'asc' => '文本/纯文本',
'txt' => '文本/纯文本',
'rtx' => '文本/富文本',
'rtf' => '文本/ rtf',
'sgml' => '文本/sgml',
'sgm' => '文本/sgml',
'tsv' => '文本/制表符分隔值',
'wml' => 'text/vnd.wap.wml',
'wmls' => 'text/vnd.wap.wmlscript',
'etx' => 'text/x-setext' ,
'xsl' => '文本/xml',
'xml' => '文本/xml',
'mpeg' => '视频/mpeg',
'mpg' = > '视频/mpeg',
'mpe' => '视频/mpeg',
'qt' => '视频/quicktime',
'mov' => '视频/quicktime',
'mxu' => 'video/vnd.mpegurl',
'avi' => 'video/x-msvideo',
'电影' => 'video/x-sgi-movie',
'冰' => 'x-conference/x-cooltalk',
);
?>