Hello all!
I'm trying to get the EXIF info out of some JPEGs. I'm using IIS on a Win2003 Server (domain controller), with PHP 5.1.3.
I enabled php_exif.dll and php_mbstring.dll in php.ini, and I moved php_mbstring.dll in front of php_exif.dll, so the lib mbstring will be loaded before exif library (this is a standard requirement for exif installation).
I ran phpinfo() and saw that both mbstring and exif are enabled. However, when I run a script calling the function read_exif_data(), I get the message "Fatal Error: Call to undefined function read_exif_data() ....".
I'm stuck here and I do not know what to try to make the function work.
Any hints?
thanx
Fatal Error: Call to undefined function read_exif_data()
Moderator: General Moderators
-
catalin.1975
- Forum Newbie
- Posts: 2
- Joined: Wed Sep 08, 2010 5:39 am
Re: Fatal Error: Call to undefined function read_exif_data()
read_exif_data() is an alias. Try with the real function: exif_read_data()
Re: Fatal Error: Call to undefined function read_exif_data()
You also need the mbstring and exif extensions installed.
-
catalin.1975
- Forum Newbie
- Posts: 2
- Joined: Wed Sep 08, 2010 5:39 am
Re: Fatal Error: Call to undefined function read_exif_data()
I did use both read_exif_data() and exif_read_data(). No luck. What do you mean by installing mbstring and exif? If you mean uncommenting them from php.ini, I did that as well (please refer to my initial message).