[eluser]Patche[/eluser]
Hi guys,
When running an upload of a file, it will fail because the mime type is not correct. For example, if I upload a PDF file (even though the file is listed as accepted type), it will fail because it thinks the mime type is
[file_type] => application/octet-stream
But when I check the $_FILES['userfile']['type'] variable, it outputs the correct mime type:
application/pdf
So I'm not sure what is causing this bug. I've checked the file on mime checker sites and they all output application/pdf. Does anyone know what could be causing the difference?