Re: MIME module for PEAR

From: Date: Tue, 26 Aug 2003 11:58:58 +0000
Subject: Re: MIME module for PEAR
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-20546@lists.php.net to get a copy of this message
I saw a posting about your class on php.net mime_content_type function page. Am generally for such a class in pear but the link you posted seems to be dead right now it would be good to have a look at it. Yavor Stefan Neufeind wrote:
On 25 Aug 2003 at 17:29, 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.
I didn't yet have a look at your class - sorry for that. But could you maybe let me know beforehand: - what are the basic new ideas in your class? - why don't the existing mime-classes in pear work for you? - have you checked whether functionality your class offers over the existing libs might be interegrated into them - did you implement a caching for the mime-lookups? how? Sorry, but we don't need a second / third / forth Mail_Mime or something. So it's a *must* to think whether features can be merged into one package. Stefan


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