MimeDetect provides an API for consistent server side mime detection using the PHP FileInfo extension, the UNIX 'file' command, user supplied mime data, or file extension lookups. It is distributed with its own magic library for use with the PHP FileInfo extension to make mime detection more consistent in different environments.

This module provides only an API. It does nothing by itself.

Modules using it

As FileField module is part of D7 core, it does not integrates with MimeDetect. See #2344231-1: Needs integration with core file field for a basic example of usage from a custom module.

If you know any other module that makes use of mimedetect, please report me.

Project Information

Downloads