title: does PHP version affect MIME.php in codeigniter
body: <p>I'm using codeigniter and In my localhost, i've been using PHP version 5.3.1. My file uploading is doing great and no error whatsoever, when i uploaded it in the server, the PHP version in the server is 5.3.18. in the Server when I upload documents, i have no error but it doesn't upload to my designated folder, i've already set the folder to 777 status. any suggestions what i can do for my file uploading? thank you  </p>
  
  <p>EDIT</p>
  
  <pre><code>$config['upload_path'] = './upload_documents/';
              $config['allowed_types'] = 'docx|xls|xlsx|pdf';
              $config['max_size'] = '0'; // 0 = no file size limit
              $config['max_width']  = '0';
              $config['max_height']  = '0';
              $config['overwrite'] = TRUE;
              $this-&gt;load-&gt;library('upload', $config);
              $this-&gt;upload-&gt;initialize($config);
              $this-&gt;upload-&gt;do_upload('userfile');
              $upload_result = $this-&gt;upload-&gt;data('userfile');
  </code></pre>
  
  <p>this my upload file format, the same with my localhost, it runs effectively in the localhost but in the server it only accepts .xlsx formats</p>