.rar, .zip files MIME Type

The answers from freedompeace, Kiyarash and Sam Vloeberghs: I would do a check on the file name too. Here is how you could check if the file is a RAR or ZIP file. I tested it by creating a quick command line application. Notice that it still won’t be 100% certain, but it is probably … Read more