Re: MIME module for PEAR
| From: | Piotr Klaban | Date: | Tue, 26 Aug 2003 10:48:16 +0000 |
| Subject: | Re: MIME module for PEAR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20535@lists.php.net to get a copy of this message | ||
On Mon, Aug 25, 2003 at 05:29:18PM +0200, Arend van Beelen jr. wrote:
> I've written a MIME class which uses the Shared MIME Database from
> freedesktop.org. It can determine MIME types of files and query for
> details about MIME types. Someone suggested I should submit this class
> to PEAR. Any thoughts about this?
> You can find the module itself on
> http://www.liacs.nl/~dvbeelen/MIME.php.txt. The module is
> written in
> PHP5, a version for PHP4 will be available shortly.
+1 for this class but I suggest you choose a different name.
MIME is much more than mime types. Maybe the class name should
be something similar to MIME_Type, or MIME_Magic etc.
--
Piotr Klaban