How can I get the content/mime type?

  •  07-11-2009, 9:25 AM

    How can I get the content/mime type?

    I have read the posts about why you don't provide contenttype, and how the developer should rely on filename extensions, however, some of my users will be uploading a variety of files from Macs. I can't rely on them having file extensions.
     
    Is there away I can derive the contenttype from their uploaded files (other than checking extensions)?
     
    Thanks,
     Andy
    Filed under: , , ,
View Complete Thread