即使我在配置中允许文件类型,也不允许您尝试上传的文件类型

I am using codeigniter 3 and i want to upload .cdr file. I have also allowed in cofig. Below is the code for that:

$config = array(
            'upload_path' => "./uploads/job_images/",
            'allowed_types' => "gif|jpg|png|jpeg|pdf|cdr|ai|psd|zip",
            'overwrite' => FALSE,
            // 'max_size' => "2048000", // Can be set to particular file size , here it is 2 MB(2048 Kb)
            // 'max_height' => "768",
            // 'max_width' => "1024"
             );

            $this->load->library('upload', $config);

I have also checked in mimes.i got this for cdr:

'cdr'   =>  array('application/cdr', 'application/coreldraw', 'application/x-cdr', 'application/x-coreldraw', 'image/cdr', 'image/x-cdr', 'zz-application/zz-winassoc-cdr'),

but still i am getting an error like The filetype you are attempting to upload is not allowed.

Ok, I got the actual problem. I checked the mime type of file using $FILES['userfile']['type']. I got application/octet-stream as output which was not in allowed mime types.