application/msword instead of application/vnd.ms

Both functions (mime_content_type and finfo_file) returns wrong mime type (application/msword) of my xls file. Question is why?

This tool http://mime.ritey.com/ returns proper mime type - application/vnd.ms-excel

I use script for attachment management for webmail and it has to be very universal. How to fix problem?

链接地址: http://www.djcxy.com/p/45502.html

上一篇: 无法上传PHP中的文件

下一篇: 应用程序/ msword而不是application / vnd.ms