• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$_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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.