mime-type

The definisions in this table are used by attach.inc.php for the determination of the file contents-type.

Content-typeExtensionExplanation
image/jpegjpeg jpgjpeg image
image/gifgifgif image
image/pngpngpng image
application/pdfpdfpdf file
application/x-shockwave-flashswfflash file
video/mpgmpgmpg video file
application/vnd.rn-realmediarmRealPlayer video file
video/quicktimemovquicktime video file
video/aviaviavi video file
video/x-ms-wmvwmvWindows Media video file
audio/mp3mp3MP3 sound file
audio/wavwav wavewave sound file
audio/vnd.rn-realaudiora ramRealAudio sound file
audio/midimid midimidi sound file
application/x-zip-compressedzipzip compressed file
application/x-lzh-compressedlzhlzh compressed file
application/x-gzipgzg-zip compressed file
application/x-bz2-compressedbz2bz2 compressed file
application/x-compressz tgzcompress compressed file
application/x-cab-compressedcabcab compressed file
application/x-stuffitsitstuff it compressed file
application/x-tartartar archive
text/plaintxt text dat jis euc sjis sjs asc utf utf8 csvplain text
text/htmlhtml htmhtml document
image/svg+xmlsvg svgzsvg(Scalable Vector Graphics)
application/ms-downloadexeWindows executable file
application/ms-worddocMS-Word document file
application/ms-excelxlsMS-Excel document file
application/ms-accessmdb mdeMS-Access database file
application/ms-powerpointppt ppsMS-Powerpoint presentation file
application/vnd.openxmlformats-officedocument.wordprocessingml.documentdocxMicrosoft Office Word 2007 document
application/vnd.ms-word.document.macroEnabled.12docmOffice Word 2007 macro-enabled document
application/vnd.openxmlformats-officedocument.wordprocessingml.templatedotxOffice Word 2007 template
application/vnd.ms-word.template.macroEnabled.12dotmOffice Word 2007 macro-enabled document template
application/vnd.openxmlformats-officedocument.spreadsheetml.sheetxlsxMicrosoft Office Excel 2007 workbook
application/vnd.ms-excel.sheet.macroEnabled.12xlsmOffice Excel 2007 macro-enabled workbook
application/vnd.openxmlformats-officedocument.spreadsheetml.templatexltxOffice Excel 2007 template
application/vnd.ms-excel.template.macroEnabled.12xltmOffice Excel 2007 macro-enabled workbook template
application/vnd.ms-excel.sheet.binary.macroEnabled.12xlsbOffice Excel 2007 binary workbook
application/vnd.ms-excel.addin.macroEnabled.12xlamOffice Excel 2007 add-in
application/vnd.openxmlformats-officedocument.presentationml.presentationpptxMicrosoft Office PowerPoint 2007 presentation
application/vnd.ms-powerpoint.presentation.macroEnabled.12pptmOffice PowerPoint 2007 macro-enabled presentation
application/vnd.openxmlformats-officedocument.presentationml.slideshowppsxOffice PowerPoint 2007 slide show
application/vnd.ms-powerpoint.slideshow.macroEnabled.12ppsmOffice PowerPoint 2007 macro-enabled slide show
application/vnd.openxmlformats-officedocument.presentationml.templatepotxOffice PowerPoint 2007 template
application/vnd.ms-powerpoint.template.macroEnabled.12potmOffice PowerPoint 2007 macro-enabled presentation template
application/vnd.ms-powerpoint.addin.macroEnabled.12ppamOffice PowerPoint 2007 add-in
application/vnd.openxmlformats-officedocument.presentationml.slidesldxOffice PowerPoint 2007 slide
application/vnd.ms-powerpoint.slide.macroEnabled.12sldmOffice PowerPoint 2007 macro-enabled slide
application/msonenoteone .onetoc2 .onetmp .onepkgMicrosoft Office OneNote 2007 section
application/vnd.ms-officethemethmx2007 Office system release theme
application/vnd.oasis.opendocument.textodtOpenDocument Text
application/vnd.oasis.opendocument.spreadsheetodsOpenDocument Spreadsheet
application/vnd.oasis.opendocument.presentationodpOpenDocument Presentation
application/vnd.oasis.opendocument.graphicsodgOpenDocument Graphics
application/vnd.oasis.opendocument.chartodcOpenDocument Chart
application/vnd.oasis.opendocument.formulaodfOpenDocument Formula
application/vnd.oasis.opendocument.imageodiOpenDocument Image
application/vnd.oasis.opendocument.text-masterodmOpenDocument Master Document
application/vnd.oasis.opendocument.databaseodbOpenDocument Database

Top page   Reload   List of pages Search Recent changes   RSS of recent changes
Last-modified: 2019-01-25 (Fri) 16:09:55