Re: MIME module for PEAR
| From: | Stephan Wentz | Date: | Tue, 26 Aug 2003 10:52:22 +0000 |
| Subject: | Re: MIME module for PEAR | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-20537@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 )1. it has to be compiled in (and i haven't a single hoster who did this...) 2. it can give you a multi-language-description ("Rar archive" looks nicer then "application/x-rar" when you print it ;-) ) and it's nice that it has several stages of testing, first the globbing, magic afterwards, which does it really fast... bye, stephan