[Typo3-dev] Fileextension Service Class
Wolfgang Klinger
wolfgang at stufenlos.net
Sun Sep 11 19:38:08 CEST 2005
Hi!
On Sun, 11 Sep 2005, Bernhard Kraft wrote the following:
> Will there be need for such an service ? If so I will make some efforts to make a generlaized
> solution which already knows about most of the mime-Types and their "usual" extensions on windows
> and unix hosts ...
Take a look at the Python mimetypes module:
http://pydoc.org/1.6/mimetypes.html
You can find it in e.g
/usr/lib/python2.3/mimetypes.py
on a Debian installation.
You may use some information you find there or port it to PHP.
bye
Wolfgang
More information about the TYPO3-dev
mailing list