Does PHP expose Apache's Mime-Type to extension mapping in any way shape or form.
That is, Apache typically has a list of files extensions (.gif, .pdf) that it maps to a list of Mime-Types (image/gif, application/pdf, etc.) in a file typically called mime.types. Is there anyway to get a list of these mapings for the current running apache process via PHP?
Lacking that, is there a way for PHP to ask Apache which mime.type file it's using?