Get mime type of external file using cURL and php
- by Axel
I've used mime_content_type() and File info but i never successed. i want to use now cURL and get the headers of the file which is hosted on another domain then determine if the type is MP3 or not. ( i think the mime type of MP3 is audio/mpeg)
Briefly, i know that but i don't know how to apply it :)
Thanks