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>';
?>
Installation
Pour activer le support EXIF en PHP, il suffit d'ajouter l'option de compilation --enable-exif .
Les utilisateurs Windows doivent s'assurer que les bibliothèques DLL php_mbstring.dll et php_exif.dll sont spécifiées dans le fichier php.ini. La bibliothèque php_mbstring.dll doit être chargée avant la bibliothèque php_exif.dll : pensez à ajuster votre php.ini.
Barnamah
12-May-2009 01:41
