Codeigniter and Uploadify
Uploadify is a great jQuery library that you can use to support fancy uploads into your application. People may encounter a problem when using Uploadify in CodeIgniter.
If you get continuously errors while uploading from Uploadify to a CI controller, you can try to log the error messages to see if the error contains 'application/octet-stream'
In that case, please follow the instructions here.
…make sure you have added “application/octet-stream” to each filetype in your config/mimes.php file.
So, let’s say you are trying to support images and got application octet stream error, then you can try to edit the mimes.php in config folder to something like this:
'gif' => array('image/gif', 'application/octet-stream' ),
'jpeg' => array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
'jpg' => array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
'jpe' => array('image/jpeg', 'image/pjpeg', 'application/octet-stream'),
'png' => array('image/png', 'image/x-png', 'application/octet-stream'),
Related searches:
- codeigniter uploadify
- uploadify codeigniter
- uploadify and codeigniter
- codeigniter and uploadify
- uploadify with codeigniter
- uploadify in codeigniter
- using uploadify with codeigniter
- use uploadify with codeigniter
- uploadify codeigniter library
- uploadify application/octet-stream




