title: How to upload .mp3 files with PHP?
body: <pre><code>&lt;form enctype="multipart/form-data"&gt;
  
  &lt;input type="file" name="mp3" /&gt;
  &lt;input type="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I tried the above,and found <code>var_dump($_FILES);</code> is always empty.</p>
  
  <p>It only works when you upload text files or images.</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I added <code>method="POST"</code> and it works.Why is <code>POST</code> necessary here?</p>