I'm trying to use PEL to make a web page that will read/edit Exif data. I'm not sure I'm including the PEL files correctly. Here's what I've done:
1. Uploaded all the PEL .php files into a directory called: /home/mydomain/private/PEL
2. edited the global php.ini file: /home/mydomain/php.ini by adding this:
;Include PEL - PHP Exif Library
include_path = "/home/mydomain/private/PEL"
3. Then I created a file called gallery.php that includes this:
$jpeg = new PelJpeg($file);
echo $jpeg;
The gallery file worked fine until I added the above 2 lines of code. But after I added reference to PelJpeg, it gives me this error:
Fatal error: Class 'PelJpeg' not found in /home/mydomain/www/www/photogallery/gallery.php on line 28
Line 28 is where the PelJpeg reference is. What am I doing wrong?