Jun 23
MS Word 2007 .DOCX MIME TYPE
Ever searched around looking for the mime-type for the newer Microsoft Word .docx file type? Search no more. It comes in handy for web development when you have an uploader app in PHP or ASP and need to determine the file type. Tested in PHP and works perfect. Hope this saves someone some time searching.
.docx
application/vnd.openxmlformats-officedocument.wordprocessingml.document
.doc (old school word)
application/msword

June 23rd, 2009 at 2:42 pm
Amen brother, amen.
July 10th, 2009 at 1:35 pm
Thanks Matthew. That helps.
August 18th, 2009 at 12:11 pm
Alleluila! Thanks dude!
September 14th, 2009 at 11:58 am
This saved me from a huge crisis as students were uploading and I had not controlled for docx in my php app. I plunked this in and you saved my day!
Many, many thanks,
Henry
October 29th, 2009 at 1:10 pm
Very usefull man, I needed for an ASP.NET proyect at work.
Thx
January 29th, 2010 at 7:33 am
THX DUDE !
January 29th, 2010 at 11:09 am
Tnx man…
Here are more MIME type for Office 2007
XLSX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PPTX application/vnd.openxmlformats-officedocument.presentationml.presentation
July 19th, 2010 at 5:54 am
Hi!
I used a mail sender script with your mime type, it worked flawlessly.
Thanks mate.