D
Daniel Greig
Hi,
Can anyone tell me if there is a simple way to get the mime-type of a
file?
(I've seen the Mime::Type library, but haven't figured out how to use
it).
I'm trying to check the type before processing a bunch of files on disk
(and ignoring files that I'm not interested in. Is there a better way
than using the file extension?
thanks,
Dan
Can anyone tell me if there is a simple way to get the mime-type of a
file?
(I've seen the Mime::Type library, but haven't figured out how to use
it).
I'm trying to check the type before processing a bunch of files on disk
(and ignoring files that I'm not interested in. Is there a better way
than using the file extension?
thanks,
Dan