Hi, I just set up an account and I'm having trouble using this library through a .cgi script.
Here's what I've done:
1. Copied ExifTool into my public-html/ftpuser/ folder
2. Tried to run a script from the same folder (scr.cgi) with the following:
but I'm getting the 500 Internal Server Error
Obviously the lib is not installed. So I tried:
But still the same 
What I'm trying to do is to have a .cgi script that uses this lib and displays the exif data, but I can't find a way to do that. Help really appreciated. Thanks.
Here's what I've done:
1. Copied ExifTool into my public-html/ftpuser/ folder
2. Tried to run a script from the same folder (scr.cgi) with the following:
Code:
#!/usr/bin/perl -s
use Image::ExifTool qw(:Public);
my $exifTool = new Image::ExifTool;
Obviously the lib is not installed. So I tried:
Code:
use lib ''/home/firenze/public_html/ftpuser'';
What I'm trying to do is to have a .cgi script that uses this lib and displays the exif data, but I can't find a way to do that. Help really appreciated. Thanks.