This functionality is now implemented in the PEAR package PHP_Compat.
More information about using this function without upgrading your version of PHP can be found on the below link:
http://pear.php.net/package/PHP_Compat
![]() | image_type_to_mime_type(PHP 4 >= 4.3.0, PHP 5) image_type_to_mime_type -- 取得 getimagesize,exif_read_data,exif_thumbnail,exif_imagetype 所返回的图像类型的 MIME 类型说明string image_type_to_mime_type ( int imagetype )image_type_to_mime_type() 函数可以判断一个 IMAGETYPE 常量的 MIME 类型。 返回值如下: 表格 1. 返回值常量
参见 getimagesize(),exif_imagetype(),exif_read_data() 和 exif_thumbnail()。 ![]()
aidan at php dot net
11-Sep-2004 04:04
This functionality is now implemented in the PEAR package PHP_Compat. | ![]() | |||||||||||||||||||||||||||||||||||