Welcome Guest, Not a member yet? Register   Sign In
$_FILES['userfile']['type'] Mime type different than the $this->upload->data() mine type?
#11

[eluser]InsiteFX[/eluser]
You can check it the way you are now just ignore the application/octet-stream.

Otherwise you will need to send an header for the file type.

Pure php file upload

Shows how to check for the file type on upload.


Messages In This Thread
$_FILES['userfile']['type'] Mime type different than the $this->upload->data() mine type? - by El Forum - 08-12-2014, 03:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB