downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Runtime Configuration> <Requirements
[edit] Last updated: Tue, 18 Jun 2013

view this page in

Installation

To enable exif-support configure PHP with --enable-exif

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.



add a note add a note User Contributed Notes Installation - [1 notes]
up
-2
Barnamah
4 years ago
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>';
?>

 
show source | credits | sitemap | contact | advertising | mirror sites