Re: package proposal: MIME_ContentType
| From: | Ondrej Jombik | Date: | Sat, 14 Jun 2003 00:00:52 +0000 |
| Subject: | Re: package proposal: MIME_ContentType | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17470@lists.php.net to get a copy of this message | ||
On Wed, 11 Jun 2003, Ian Eure wrote:
> MIME_ContentType is a PEAR package for looking up a file's mimetype.
> Features:
> * Uses the system's mime database (/etc/mime.types) by default
> * Can find the mime-type for a file extension. (forward lookup)
> * Can find valid extensions for a mime-type (backward lookup)
> * MIME types may be added and removed.
> * New mime.types file may be written containing all the types MIME_ContentType
> knows about.
Am I right that this class brings `file' UNIX command functionality
into PHP?
--
_/| Ondrej Jombik - nepto@php.net - http://www.nepto.sk -
OJ812-RIPE
<_ \ Platon SDG - open source software development - http://platon.sk
`\| Nech operacia X na mnozine G tvori grupu, potom plati... rundu!
'`