Content-Type description
$ 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' => 'application/octet-stream ',
'Lzh '=> 'application/octet-stream ',
'Exe '=> 'application/octet-stream ',
'Class' => 'application/octet-stream ',
'So' => 'application/octet-stream ',
'Dll '=> 'application/octet-stream ',
'Oda '=> 'application/oda ',
'Pdf '=> 'application/pdf ',
'Ai' => 'application/postscript ',
'Eps '=> 'application/postscript ',
'Ps '=> 'application/postscript ',
'Smi' => 'application/SMIL ',
'Smil '=> 'application/SMIL ',
'Mfa' => 'application/vnd. mfa ',
'Xls '=> 'application/vnd. MS-Excel ',
'Ppt '=> 'application/vnd. MS-PowerPoint ',
'Wbxml' => 'application/vnd. WAP. wbxml ',
'Wmlc' => 'application/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-ctor ',
'Dir' => 'application/X-ctor ',
'Dxr' => 'application/X-ctor ',
'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 ',
'Textinfo' => 'application/X-textinfo ',
'Text' => 'application/X-textinfo ',
'T' => 'application/X-troff ',
'Tr' => 'application/X-troff ',
'Roff' => 'application/X-troff ',
'Man '=> '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 '=> 'application/XHTML + xml ',
'Zip' => 'application/zip ',
'Au '=> 'audio/basic ',
'Snd' => 'audio/basic ',
'Mid '=> 'audio/midI ',
'Midi '=> 'audio/midI ',
'Kar '=> 'audio/midI ',
'Mpga' => 'audio/MPEG ',
'Mp2' => 'audio/MPEG ',
'Mp3' => 'audio/MPEG ',
'Aif' => 'audio/X-AIFF ',
'Aiff '=> 'audio/X-AIFF ',
'Aifc '=> 'audio/X-AIFF ',
'M3u' => 'audio/X-mpegurl ',
'Ram '=> 'audio/X-PN-RealAudio ',
'Rm '=> 'audio/X-PN-realaudio ',
'Rpm '=> 'audio/X-PN-RealAudio-plugin ',
'A' => 'audio/X-realaudio ',
'Wav '=> 'audio/X-WAV ',
'Pdb' => 'chemical/X-pdb ',
'Xyz' => 'chemical/X-xyz ',
'Bmp '=> 'image/BMP ',
'Gif' => 'image/gif ',
'Ief' => 'image/ief ',
'Jpeg '=> 'image/JPEG ',
'Jpg '=> 'image/JPEG ',
'Jpe' => 'image/JPEG ',
'Png '=> 'image/PNG ',
'Tiff '=> 'image/tiff ',
'Tif '=> 'image/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 '=> 'image/X-xbitmap ',
'Xpm' => 'image/X-xpixmap ',
'Xwd '=> 'image/X-xwindowdump ',
'Gies' => 'model/iges ',
& Apos; IGES & apos; = & apos; model/IGES & apos ',
'Msh' => 'model/mesh ',
'Mesh '=> 'model/mesh ',
'Silo' => 'model/mesh ',
'Wrl' => 'model/jpa ',
'Jpa' => 'model/jpa ',
'Css '=> 'text/CSS ',
'Html' => 'text/html ',
'Htm '=> 'text/html ',
'Asc '=> 'text/plain ',
'Txt '=> 'text/plain ',
'Rtx' => 'text/richtext ',
'Rtf '=> 'text/RTF ',
'Sgml' => 'text/sgml ',
'Sgm' => 'text/sgml ',
'Tsv' => 'text/TAB-separated-values ',
'Wml' => 'text/vnd. WAP. wml ',
'Wmls' => 'text/vnd. WAP. wmlscript ',
'Etx' => 'text/X-setext ',
'Xsl '=> 'text/xml ',
'Xml' => 'text/xml ',
'Mpeg '=> 'video/MPEG ',
'Mpg' => 'video/MPEG ',
'Mpe' => 'video/MPEG ',
'Qt '=> 'video/quicktime ',
'Mov' => 'video/quicktime ',
'Mxu' => 'video/vnd. mpegurl ',
'Av' => 'video/X-msvideo ',
'Movi' => 'video/X-SGI-movi ',
'Ice '=> 'x-conference/X-cooltalk ',
);
The following table parameters ents the http mime types that are available when working with Office 2007 documents:
EXT |
Mime Type |
. Doc |
Application/MSWord |
. Dot |
Application/MSWord |
. Docx |
Application/vnd.openxmlformats-officedocument.wordprocessingml.doc ument |
. Dotx |
Application/vnd. openxmlformats-officedocument.wordprocessingml.template |
. Docm |
Application/vnd.ms-word.doc ument. macroenabled.12 |
. Dotm |
Application/vnd. ms-word.template.macroEnabled.12 |
. Xls |
Application/vnd. MS-Excel |
. Xlt |
Application/vnd. MS-Excel |
. Xla |
Application/vnd. MS-Excel |
. XLSX |
Application/vnd. openxmlformats-officedocument.spreadsheetml.sheet |
. Xltx |
Application/vnd. openxmlformats-officedocument.spreadsheetml.template |
. Xlsm |
Application/vnd. ms-excel.sheet.macroEnabled.12 |
. Xltm |
Application/vnd. ms-excel.template.macroEnabled.12 |
. Xlam |
Application/vnd. ms-excel.addin.macroEnabled.12 |
. Xlsb |
Application/vnd. ms-excel.sheet.binary.macroEnabled.12 |
. Ppt |
Application/vnd. MS-PowerPoint |
. Pot |
Application/vnd. MS-PowerPoint |
. PPS |
Application/vnd. MS-PowerPoint |
. PPA |
Application/vnd. MS-PowerPoint |
. Pptx |
Application/vnd. openxmlformats-officedocument.presentationml.presentation |
. Potx |
Application/vnd. openxmlformats-officedocument.presentationml.template |
. Ppsx |
Application/vnd. openxmlformats-officedocument.presentationml.slideshow |
. Ppam |
Application/vnd. ms-powerpoint.addin.macroEnabled.12 |
. Pptm |
Application/vnd. ms-powerpoint.presentation.macroEnabled.12 |
. Potm |
Application/vnd. ms-powerpoint.presentation.macroEnabled.12 |
. Psms |
Application/vnd. ms-powerpoint.slideshow.macroEnabled.12 |