Microsoft Office 2007 file type, Mime types and identifying characters


Where can I find a list of all of the MIME types and the identifying characters for Microsoft Office 2007 files?

I have an upload form that is restricting uploads based on the extensions and identifying characters, but I cannot seem to find the Office 2007 MIME types.

Can anyone help?

Всички отговори
  • Translate

    Office 2007 MIME Types for IIS

    • .docm, application/
    • .docx, application/vnd.openxmlformats-officedocument.wordprocessingml.document
    • .dotm, application/
    • .dotx, application/vnd.openxmlformats-officedocument.wordprocessingml.template
    • .potm, application/
    • .potx, application/vnd.openxmlformats-officedocument.presentationml.template
    • .ppam, application/
    • .ppsm, application/
    • .ppsx, application/vnd.openxmlformats-officedocument.presentationml.slideshow
    • .pptm, application/
    • .pptx, application/vnd.openxmlformats-officedocument.presentationml.presentation
    • .xlam, application/
    • .xlsb, application/
    • .xlsm, application/
    • .xlsx, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
    • .xltm, application/
    • .xltx, application/vnd.openxmlformats-officedocument.spreadsheetml.template