• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The filetype you are attempting to upload is not allowed.

I'm using Code Igniter 1.73 and trying to upload perform an upload of a text file with a ".Dat" extension. No matter what I've tried I can't get it to successfully upload because of its file type. I did an echo of it's mime type and here's what I get:

string 'application/octet-stream' (length=24)

I've added 'application/octet-stream' (no quotes) to my allowed file types and that hasn't worked. I've also added 'Dat' => 'application/octet-stream', to mimes.php and that didn't work either.

Is there anything else I can do to make this work with a ".Dat" file?

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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