title: Why is there a mime type inconsistency with firefox, chrome?
body: <p>I was puzzled at first why my files weren't uploading for some users and I found out it was everyone who wasn't using chrome which was the browser I was testing.</p>
  
  <p>Basically I'm doing a file check to make sure they are only able to upload mp3s.</p>
  
  <p>This this was working for chrome, but not firefox.</p>
  
  <pre><code>if ($_FILES['uploaded']['type']=="audio/mp3")
  </code></pre>
  
  <p>This was working for firefox, but not chrome.</p>
  
  <pre><code>$_FILES['uploaded']['type']=="audio/mpeg"
  </code></pre>
  
  <p>Could anyone explain why this is happening? I would think both browsers would be able to understand either or... Are there any other browsers I might need to worry about touchy mime types like these?</p>
  
  <p>Edit: If what Pekka suggested is true, what would be the best way to check for a certain mime type?</p>