note 43731 added to function.image-type-to-mime-type
| From: | jausions at hotmail dot com | Date: | Thu, 01 Jul 2004 16:26:40 +0000 |
| Subject: | note 43731 added to function.image-type-to-mime-type | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-72269@lists.php.net to get a copy of this message | ||
Previous function is not quite accurate, default value returned is
"application/octet-stream" not FALSE.
You can use PEAR's PHP_Compat package to emulate that function in versions of PHP that
don't have it. It also creates whatever IMAGETYPE_* constants are missing.
http://pear.php.net/PHP_Compat
-Philippe
----
Manual Page -- http://www.php.net/manual/en/function.image-type-to-mime-type.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+43731
Delete -- http://master.php.net/manage/user-notes.php?action=delete+43731&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+43731&report=yes
Search -- http://master.php.net/manage/user-notes.php