Welcome Guest, Not a member yet? Register   Sign In
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?

Theme © iAndrew 2016 - Forum software by © MyBB