• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
$_FILES['userfile']['type'] Mime type different than the $this->upload->data() mine type?

#9
[eluser]InsiteFX[/eluser]
You should never check the file type on an upload, it will most likely always contain
application/octet-stream and not the true file type which in your case is the pdf.



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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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