-
-
//php heaer content-type
- //程式設計師之家bbs.it-home.org 收集整理
- / /收藏下吧,以備不時之需。
- $mimetypes = array(
- 'ez' => 'application/andrew-inset',
- 'hqx' => 'application/mac-binhex40',
- 'cpt' => ; ' application/mac-compactpro',
- 'doc' => 'application/msword',
- 'bin' => 'application/octet-stream',
- 'dms' => 'application/octet' ; -stream',
- 'lha' => '應用程式/八位元組流',
- 'lzh' => '應用程式/八位元組流',
- 'exe' = > '應用程式/八位元組; -stream',
- 'class' => '應用程式/八位元組流',
- 'so' => '應用程式/八位元組流',
- 'dll' => '應用程式/八位元組流' ',
- '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' => '應用程式/vnd.wap.wmlc',
- 'wmlsc' = > 'application/vnd.wap.wmlscriptc',
- 'bcpio' =>; 'application/x-bcpio' ,
- 'vcd' =>; 'application/x-cdlink',
- 'pgn ' =>; 'application/x-chess-pgn',
- 'cpio' =>; 'application/x-cpio',
- 'csh' =>; 'application/x-csh',
- 'dcr' =>; 'application/x-director',
- 'dir' =>; 'application/x-director',
- 'dxr' =>; 'application/x-director',
- 'dvi' =>; 'application/x-dvi',
- 'spl' =>; 'application/x-futuresplash',
- 'gtar' =>; 'application/x-gtar',
- 'hdf' =>; 'application/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' =>; 'application/x-shar',
- 'swf' =>; 'application/x-shockwave-flash',
- 'sit' =>; 'application/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' =>; 'application/x-texinfo',
- 't' =>; 'application/x-troff',
- 'tr' =>; 'application/x-troff',
- 'roff' =>; 'application/x-troff',
- 'man' =>; 'application/x-troff-man',
- '我' =>; 'application/x-troff-me',
- 'ms' =>; 'application/x-troff-ms',
- 'ustar' =>; 'application/x-ustar',
- 'src' =>; 'application/x-wais-source',
- 'xhtml' =>; 'application/xhtml+xml',
- 'xht' =>; 'application/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' => 'chemical/x-pdb',
- 'xyz' =>; '化學/x-xyz',
- 'bmp' =>; '圖片/bmp',
- 'gif' => '圖片/gif',
- 'ief' => '圖片/ief',
- 'jpeg' =>; '圖片/jpeg',
- 'jpg' => '圖片/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-bitmap',
- 'pgm' =>; 'image/x-portable-graymap',
- 'ppm' => 'image/x-portable-pixmap',
- 'rgb' =>; 'image/x-rgb',
- 'xbm' =>; '影像/x-x點陣圖',
- 'xpm' =>; 'image/x-xpixmap',
- 'xwd' =>; 'image/x-xwindowdump',
- 'igs' =>; '模型/網格',
- 'iges' => '模型/網格',
- 'msh' => '模型/網格',
- '網格' => '模型/網格' ,
- '筒倉' => '模型/網格',
- 'wrl' => '模型/vrml',
- 'vrml' => '模型/vrml',
- 'css ' =>; 'text/css',
- 'html' =>; 'text/html',
- 'htm' =>; 'text/html',
- 'asc' =>; '文字/純文字',
- 'txt' => 'text/plain',
- 'rtx' =>; 'text/richtext',
- 'rtf' =>; 'text/rtf',
- 'sgml' =>; '文/sgml',
- 'sgm'=> 'text/sgml',
- 'tsv' =>; '文字/製表符分隔值',
- 'wml' => 'text/vnd.wap.wml',
- 'wmls' =>; 'text/vnd.wap.wmlscript',
- 'etx' =>; 'text/x-setext',
- 'xsl' =>; 'text/xml',
- 'xml' =>; 'text/xml',
- 'mpeg' =>; '視訊/mpeg',
- 'mpg' => '視訊/mpeg',
- 'mpe' = > '影片/mpeg',
- 'qt' => '影片/quicktime',
- 'mov' => '影片/quicktime',
- 'mxu' =>; 'video/vnd.mpegurl ',
- 'avi' =>; 'video/x-msvideo',
- '電影'=> 'video/x-sgi-movie',
- 'ice' =>; 'x-conference /x-cooltalk',
- );
- ?>
複製程式碼
|