ClassicASP types mime application
페이지 정보
본문
content - MIME types for Office 2007 files
$UploadExts['docm'] = 'application/vnd.ms-word.document.macroEnabled.12'; #
$UploadExts['docx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; # Word document
$UploadExts['dotm'] = 'application/vnd.ms-word.template.macroEnabled.12'; #
$UploadExts['dotx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'; # Word document template
$UploadExts['potm'] = 'application/vnd.ms-powerpoint.template.macroEnabled.12'; #
$UploadExts['potx'] = 'application/vnd.openxmlformats-officedocument.presentationml.template'; # Presentation template
$UploadExts['ppam'] = 'application/vnd.ms-powerpoint.addin.macroEnabled.12'; #
$UploadExts['ppsm'] = 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12'; #
$UploadExts['ppsx'] = 'application/vnd.openxmlformats-officedocument.presentationml.slideshow'; # Presentation sideshow
$UploadExts['pptm'] = 'application/vnd.ms-powerpoint.presentation.macroEnabled.12'; #
$UploadExts['pptx'] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'; # Presentation
$UploadExts['xlam'] = 'application/vnd.ms-excel.addin.macroEnabled.12'; #
$UploadExts['xlsb'] = 'application/vnd.ms-excel.sheet.binary.macroEnabled.12'; #
$UploadExts['xlsm'] = 'application/vnd.ms-excel.sheet.macroEnabled.12'; #
$UploadExts['xlsx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'; # Spreadsheet
$UploadExts['xltm'] = 'application/vnd.ms-excel.template.macroEnabled.12'; #
$UploadExts['xltx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'; # Spreadsheet template
To permit the uploading of OpenOffice.org files, you should add the following lines to your local customization file:
$UploadExts['odb'] = 'application/vnd.oasis.opendocument.database';
$UploadExts['odc'] = 'application/vnd.oasis.opendocument.chart';
$UploadExts['odf'] = 'application/vnd.oasis.opendocument.formula';
$UploadExts['odg'] = 'application/vnd.oasis.opendocument.graphics';
$UploadExts['odm'] = 'application/vnd.oasis.opendocument.text-master';
$UploadExts['odp'] = 'application/vnd.oasis.opendocument.presentation';
$UploadExts['odp'] = 'application/vnd.oasis.opendocument.presentation';
$UploadExts['ods'] = 'application/vnd.oasis.opendocument.spreadsheet';
$UploadExts['odt'] = 'application/vnd.oasis.opendocument.text';
$UploadExts['otg'] = 'application/vnd.oasis.opendocument.graphics-template';
$UploadExts['oth'] = 'application/vnd.oasis.opendocument.text-web';
$UploadExts['otp'] = 'application/vnd.oasis.opendocument.presentation-template';
$UploadExts['ots'] = 'application/vnd.oasis.opendocument.spreadsheet-template';
$UploadExts['ott'] = 'application/vnd.oasis.opendocument.text-template';
$UploadExts['sda'] = 'application/vnd.stardivision.draw';
$UploadExts['sdc'] = 'application/vnd.stardivision.calc';
$UploadExts['sdd'] = 'application/vnd.stardivision.impress';
$UploadExts['sdf'] = 'application/vnd.stardivision.math';
$UploadExts['sds'] = 'application/vnd.stardivision.chart';
$UploadExts['sdw'] = 'application/vnd.stardivision.writer';
$UploadExts['sgl'] = 'application/vnd.stardivision.writer-global';
관련자료
http://www.pmwiki.org/wiki/Cookbook/UploadTypes
$UploadExts['docm'] = 'application/vnd.ms-word.document.macroEnabled.12'; #
$UploadExts['docx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.document'; # Word document
$UploadExts['dotm'] = 'application/vnd.ms-word.template.macroEnabled.12'; #
$UploadExts['dotx'] = 'application/vnd.openxmlformats-officedocument.wordprocessingml.template'; # Word document template
$UploadExts['potm'] = 'application/vnd.ms-powerpoint.template.macroEnabled.12'; #
$UploadExts['potx'] = 'application/vnd.openxmlformats-officedocument.presentationml.template'; # Presentation template
$UploadExts['ppam'] = 'application/vnd.ms-powerpoint.addin.macroEnabled.12'; #
$UploadExts['ppsm'] = 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12'; #
$UploadExts['ppsx'] = 'application/vnd.openxmlformats-officedocument.presentationml.slideshow'; # Presentation sideshow
$UploadExts['pptm'] = 'application/vnd.ms-powerpoint.presentation.macroEnabled.12'; #
$UploadExts['pptx'] = 'application/vnd.openxmlformats-officedocument.presentationml.presentation'; # Presentation
$UploadExts['xlam'] = 'application/vnd.ms-excel.addin.macroEnabled.12'; #
$UploadExts['xlsb'] = 'application/vnd.ms-excel.sheet.binary.macroEnabled.12'; #
$UploadExts['xlsm'] = 'application/vnd.ms-excel.sheet.macroEnabled.12'; #
$UploadExts['xlsx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'; # Spreadsheet
$UploadExts['xltm'] = 'application/vnd.ms-excel.template.macroEnabled.12'; #
$UploadExts['xltx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.template'; # Spreadsheet template
To permit the uploading of OpenOffice.org files, you should add the following lines to your local customization file:
$UploadExts['odb'] = 'application/vnd.oasis.opendocument.database';
$UploadExts['odc'] = 'application/vnd.oasis.opendocument.chart';
$UploadExts['odf'] = 'application/vnd.oasis.opendocument.formula';
$UploadExts['odg'] = 'application/vnd.oasis.opendocument.graphics';
$UploadExts['odm'] = 'application/vnd.oasis.opendocument.text-master';
$UploadExts['odp'] = 'application/vnd.oasis.opendocument.presentation';
$UploadExts['odp'] = 'application/vnd.oasis.opendocument.presentation';
$UploadExts['ods'] = 'application/vnd.oasis.opendocument.spreadsheet';
$UploadExts['odt'] = 'application/vnd.oasis.opendocument.text';
$UploadExts['otg'] = 'application/vnd.oasis.opendocument.graphics-template';
$UploadExts['oth'] = 'application/vnd.oasis.opendocument.text-web';
$UploadExts['otp'] = 'application/vnd.oasis.opendocument.presentation-template';
$UploadExts['ots'] = 'application/vnd.oasis.opendocument.spreadsheet-template';
$UploadExts['ott'] = 'application/vnd.oasis.opendocument.text-template';
$UploadExts['sda'] = 'application/vnd.stardivision.draw';
$UploadExts['sdc'] = 'application/vnd.stardivision.calc';
$UploadExts['sdd'] = 'application/vnd.stardivision.impress';
$UploadExts['sdf'] = 'application/vnd.stardivision.math';
$UploadExts['sds'] = 'application/vnd.stardivision.chart';
$UploadExts['sdw'] = 'application/vnd.stardivision.writer';
$UploadExts['sgl'] = 'application/vnd.stardivision.writer-global';
관련자료
http://www.pmwiki.org/wiki/Cookbook/UploadTypes
댓글목록
등록된 댓글이 없습니다.