title: Strange CodeIgniter file upload error
body: <p>I've set up 'Uploadify' to upload files to my server where I process them with CodeIgniter's file upload library.</p>
  
  <p>However, I think Uploadify changes the mime type of the files, or does something else weird which causes CodeIgniter to give a 'the file type is not allowed' error despite it being allowed.</p>
  
  <p>E.g I've allowed JPEG files but when I upload them using Uploadify, I get that error.</p>
  
  <p>Is there any workaround for this? Basically, I want only image uploads to be allowed, e.g .jpg, .jpeg, .bmp, .png. Do I have to manually check the extension of the files or is there any better option?</p>