Mbstring must be loaded before exif. PHP setup program put them in the wrong order in the ini file and I couldn't use exif at all. Had to switch order in the ini file for it to work.
![]() |
|
||||||||||
|
XXXIV. Exif FunctionsВведениеWith the exif extension you are able to work with image meta data. For example, you may use exif functions to read meta data of pictures taken from digital cameras by working with information stored in the headers of the JPEG and TIFF images. ТребованияYour PHP must be compiled in with --enable-exif. PHP does not require any additional library for the exif module. Windows users must also have the mbstring extension enabled. Установка
To enable exif-support configure PHP with
Windows users must enable both the php_mbstring.dll and php_exif.dll DLL's in php.ini. The php_mbstring.dll DLL must be loaded before the php_exif.dll DLL so adjust your php.ini accordingly. Настройка во время выполненияПоведение этих функций зависит от установок в php.ini. Exif supports automatically conversion for Unicode and JIS character encodings of user comments when module mbstring is available. This is done by first decoding the comment using the specified characterset. The result is then encoded with another characterset which should match your HTTP output. Таблица 1. Exif configuration options
Краткое разъяснение конфигурационных директив.
Типы ресурсовДанное расширение не определяет никакие типы ресурсов. Предопределенные константыПеречисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.
The exif_imagetype() lists several related built-in constants.
Exif Functions
phedberg at gmail dot com
19-Jun-2007 01:22
Mbstring must be loaded before exif. PHP setup program put them in the wrong order in the ini file and I couldn't use exif at all. Had to switch order in the ini file for it to work.
webmaster at robert-beran dot de
30-Nov-2006 02:07
here the link to my exif data remover function:
ishida at w3 dot org
21-Sep-2006 04:36
Not to mention Arabic, Hebrew, Chinese, the many Indic scripts, Thai, Greek, etc., etc.
23-Dec-2004 02:55
exif.encode_unicode string |