Tags
allowed file extension in codeigniter, apk file uploading, apk file uploading in codeigniter, codeigniter, file upploading, mines.php
We have mentioned the $config[‘allowed_types’]= ‘apk’;
But when i try to upload file on the server it shows me error that “The filetype you are attempting to upload is not allowed.”
To Avoid the error we need place below line inside the application/config/mines.php file
‘apk’ => array(‘application/x-zip’, ‘application/zip’, ‘application/x-zip-compressed’, ‘application/vnd.android.package-archive’, ‘application/octet-stream’),