Hi all,
I came across this problem while trying to create an upload system for my project. I was trying to create a file upload filtering system that screened every file being transferred using their mime types. Then I came across a zip file that didn't have a mime type ID. Although in the system I'm accepting zipped files as files that can be uploaded, the system rejects it, because no mime type is identified (using $_FILES).
Any recommendations for a workaround on this problem? should I relax the restrictions and use the file extensions instead? Wouldn't file extension approaches compromise the system, if ever?
Thanks in advance. 🙂