title: Problems with CodeIgniter (and allowed_types)
body: <p>Morning guys.</p>
  
  <p>I'm trying to use Plupload along with CodeIgniter. I tried uploadify before Plupload and it worked awesome, the main problem with uploadify is that it never sent the CSRF code, no matter what I used, this was really odd so I reviewed Plupload and I made it work as expected in matter of minutes. However, it ONLY works well with the HTML5 uploader and not with the Flash Uploader.</p>
  
  <p>Reviewing the logs I found the reason why it was not working: while using the CodeIgniter File Uploading Class.</p>
  
  <p>Since I'm doing a bulk image uploader I set it up to allow "jpg,gif,png,jpeg" but found that the uploader rejects the uploading petition since I'm uploading a wrong type_file (which I found is octet/stream - wtf?).</p>
  
  <p>After the upload process, I was processing the image (generating thumbs, watermarks, cropping, etc) so if I set it to allow all file types, the image processing won't work at all.</p>
  
  <p>What I was thinking was on doing something like upload the file (allowing octet/stream MIME TYPE) then convert it to image (with imagecreatefromstring and file_get_contents functions) and then process it individually.</p>
  
  <p>If you have any other idea let me know</p>