Using Codeigniter 3.1.7
Using the upload class and has allowed types set:
$config['allowed_types'] = "jpg|pdf|doc|docx|xls|xlsx|png|bmp|gif|msg|eml|zip";
Added the mime-type in config/mimes.php
:
'msg' => array('text/plain','application/vnd.ms-outlook','application/octet-stream')
PHP reports the filetype I'm testing with as application/octet-stream
so that should be sufficient? (IE not a duplicate of question CodeIgniter: "The filetype you are attempting to upload is not allowed." )
What might cause the error?
$this->upload->display_errors()
shows:
"The filetype you are attempting to upload is not allowed."
Thanks