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?