MIME Types for Office 2007

See all posts See thread Reply

Re: MIME Types for Office 2007 new!
by colin, 17 years, 3 months ago
You can add MIME types like this:
$handle->allowed =
    array('application/pdf','application/msword');

As for the new Office 2007 formats, you can find a list here.

I beliive that the following MIME type will work for all Office 2007 documents. Let me know if it works, and I will add it in the next release.
application/vnd.openxmlformats
Reply