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
Amen brother, amen.
Thanks Matthew. That helps.
Alleluila! Thanks dude!
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
Very usefull man, I needed for an ASP.NET proyect at work.
Thx
THX DUDE !
Tnx man…
Here are more MIME type for Office 2007
XLSX application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
PPTX application/vnd.openxmlformats-officedocument.presentationml.presentation
http://www.bram.us/2007/05/25/office-2007-mime-types-for-iis/
Hi!
I used a mail sender script with your mime type, it worked flawlessly.
Thanks mate.
thanks dude,
Thanks. It’s great your answer is at the top of the search engines.
Short and to the point!
saved my ass, thnx!
Thanks.
It’s useful.
Thank you
its working perfectly, those mime types are right :)
Much appreciated!
How can i show the content of a docx file on the browser.(without download)
Thanks Matthew .
Came really handy !!
thanks so much dude, sure save a lot of my time. You’re wicked~
Thank You. saved a lot of my time
Even in 2012 still handy, thanks dude!
please new can u explain the step
thanks…..