title: Get mime type of external file using cURL and php
body: <p>I've used <code>mime_content_type()</code> and File info but i never successed. i want to use now cURL with PHP and get the headers of the file which is hosted on another domain then extract &amp; determine if the type is MP3 or not. ( i think the mime type of MP3 is <code>audio/mpeg</code> )</p>
  
  <p>Briefly, i know that but i don't know how to apply it :)</p>
  
  <p>Thanks</p>