PHP comes with two extension modules for determining the MIME type of a file: Fileinfo and Mimetype. Both require a mime.magic file that stores the MIME type definitions, but they access it in two ...
I've come across a really annoying problem with IIS. It refuses to respect the Accept header in a request from Blackberry devices and serve the proper mime-type. It skips right past text/html and ...