title: mp3 file type uploading in codeigniter
body: <p>I have to upload a mp3 file type with codeigniter upload library.<br>
  I use the following code.</p>
  
  <p>But it doesn't work.</p>
  
  <p>The class controller code:</p>
  
  <pre><code>&lt;?php
  class Upload extends CI_Controller {
      public function __construct()
      {
              parent::__construct();
              $this-&gt;load-&gt;helper(array('form', 'url'));
      }
  
      public function index()
      {
              $this-&gt;load-&gt;view('upload_form', array('error' =&gt; ' ' ));
      }
  
      public function do_upload()
      {
              $config['upload_path']          = './uploads/';
              $config['allowed_types']        = 'gif|jpg|png|jpeg|mp3';
              $config['max_size']             = 0;
              $this-&gt;load-&gt;library('upload', $config);
  
              if ( ! $this-&gt;upload-&gt;do_upload())
              {
                      $error = array('error' =&gt; $this-&gt;upload-&gt;display_errors());
  
                      $this-&gt;load-&gt;view('upload_form', $error);
              }
              else
              {
                      $data = array('upload_data' =&gt; $this-&gt;upload-&gt;data());
  
                      $this-&gt;load-&gt;view('upload_success', $data);
              }
      }
  }
  ?&gt;
  </code></pre>
  
  <p>When the file type is jpg or like that, this code correctly works and the jpg file is uploaded.<br>
  But when I try to upload an mp3 file, the file doesn't upload.<br>
  And not any error shows up.</p>
  
  <p>How can I do this?</p>