关于word2007、excel2007的上传出现的问题
我们知道在上传的时候 文件类型可以写
text/plain, image/jpeg, application/msword, application/vnd.ms-excel, application/x-zip-compressed
但是这个约束条件office 2007的文件却通不过验证,
经查询,word2007的MIME为 application/vnd.openxmlformats-officedocument.wordprocessingml.document
Excel的mime 为 application/vnd.openxmlformats-officedocument.spreadsheetml.sheet