News:

2023-08-10 - ExifTool version 12.65 released

Main Menu

ExifTool with PHP

Started by Archive, May 12, 2010, 08:54:20 AM

Previous topic - Next topic

Archive

[Originally posted by ignaciogggg on 2008-04-14 20:31:43-07]

Code:
I'm trying to do a class for Code Igniter to get all the Exif Data from uploaded images.
First of all I'm trying to understand how ExifTools works... I have instaled the lib on my mac and
testing with terminal.app, works fine.
But now, I need to execute the lib using "exec" from php?
How can I do for get the data into array?
How can I change the data for differents lenguages?

I'm really newbie in Perl libraries, hope somebody can help me.

Thanks!

Archive

[Originally posted by ignaciogggg on 2008-04-15 05:41:41-07]

Ok, I have this working using exec, I got the array (nice), now, the value names aren't standard, can we change them?

Archive

[Originally posted by ignaciogggg on 2008-04-15 05:42:28-07]

Ohh, and I wanna know the difference with this lib and the exif functions with php

Archive

[Originally posted by exiftool on 2008-04-15 11:26:49-07]

I'm glad you got the exec working.

I can't help with PHP because I have never used that library, but
you asked about changing the value names... The only way to
change the names is to override the exiftool defaults by defining
custom tags or modifying the exiftool modules directly.  The only
disadvantage to modifying the modules is that it makes updating
to the current version of exiftool difficult, but they are easy to
modify since they are all plain text files.

- Phil