Re: MIME module for PEAR
| From: | Stefan Neufeind | Date: | Tue, 26 Aug 2003 10:49:41 +0000 |
| Subject: | Re: MIME module for PEAR | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20538@lists.php.net to get a copy of this message | ||
On 26 Aug 2003 at 12:48, Piotr Klaban wrote:
> 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.
This raises another interesting question. In which category should we
put it?
Stefan