article

Snippet: Mime types and file extensions

Snippet with a pair of helper functions showing how to get the default file extension for a given mime type, or the mime type from a given file extension.

avatar
Richard Moss