MainelyDesign.com Blog

Using Exif in PHP on Windows

Posted on 08/28/2009 at 09:40 am by Kevin Wentworth
Viewed 12,766 times | 0 comments

I'm trying to use the exif functions in PHP on my Windows XP computer.  I want to read the meta data that is recorded by my digital camera (exif - exchangeable image file format).  I like the idea of storing that exif data in the database, so it's searchable. I wasn't having any luck with exif_read_data(), but finally found this posting.

You need to adjust your php.ini file.

Move extension=php_exif.dll below extension=php_mbstring.dll (which needs to be enabled too).  Your php.ini should look like this:

  1. ; Windows Extensions
  2.  
  3. extension=php_mbstring.dll
  4. extension=php_exif.dll

Cheers,

-Kevin Wentworth

Bookmark and Share

Tags for Using Exif in PHP on Windows

Php | Windows | Web Programming | Web Server Admin | Hack

Comments for this Posting

No comments. Be the first to post a reply.

Sorry, comments are closed for this posting.

Please Email Kevin if you have any questions. Thanks!

Meet Site Avenger - Hosted Content Management System

Powered By: Site Avenger | Site Production: Saco Design