Possible Duplicate:
How do I determine the extension(s) associated with a MIME type in PHP?
I'm aware of how to get the MIME type of a given file, but is there a way to do it given only an extension?
Example input:
jpg
Example output:
image/jpeg