When i upload file type 'rar' in CodeIgniter, there is a problem when upload. It showed warning : The filetype you are attempting to upload is not allowed.

The solution is quite simple, just edit in this file : services\application\config\mimes.php
add 1 line in $mimes array : 'rar'    =>    'application/octet-stream',

I think other file type will have that error too if it does not list at mimes.




This entry was posted on 2/26/2014 12:57:00 AM and is filed under , . You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

0 komentar: