Re: MIME module for PEAR

From: Date: Tue, 26 Aug 2003 10:20:50 +0000
Subject: Re: MIME module for PEAR
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20531@lists.php.net to get a copy of this message
Klaus Guenther wrote:
I think the point is that it doesn't have any mime functionality other than being able to detect mime types and display information about them. So, my question is, how is it better than the existing functionality in PHP? (see http://www.php.net/manual/en/ref.mime-magic.php ) - It uses the Shared MIME Database from freedesktop.org, see http://www.freedesktop.org/standards/shared-mime-info-spec/, which makes it compatible with other applications using this database, like GNOME 2.4 and future KDE versions.
- It can optionally be used on filenames only, without the need to open the file (by default it does open the file if the filename isn't enough to determine the MIME type). - The regular MIME function of PHP doesn't return textual descriptions (in multiple languages) of MIME types. Arend jr.

« previous php.pear.dev (#20531) next »