the order of the .dll file name in php.ini file are very impartan.
like this:
extension=php_mbstring.dll
extension=php_exif.dll
php_mbstring.dll file must be before php_exif.dll in Windows.
I did not work untill I changed the order.
<?php
// Get the exif data
$exif_data = exif_read_data( 'sample_images/_IGP8499.JPG' );
echo '<pre>';
print_r($exif_data);
echo '</pre>';
?>
インストール手順
exif サポートを有効にするには、PHP の configure 時に --enable-exif を指定します。
Windows ユーザは、php.ini で php_mbstring.dll および php_exif.dll の両方の DLL を有効にする 必要があります。php_mbstring.dll DLL は、必ず php_exif.dll DLL より 先に 読み込まれていなければなりません。そうなるように php.ini で設定 してください。
インストール手順
Barnamah
12-May-2009 11:41
12-May-2009 11:41
