@alto55. The fileinfo_mime and other methods of detection are callable and useable. However, it seems that the mime types are not set up properly on your system. I came across this link when researching this, please check it out: http://stackoverflow.com/questions/770705/phps-fileinfo-mime-option-returns-empty-string. It may assist you.