This is very stupid but I seem to be completely lost trying to test a Perl command-line application with XAMPP. I downloaded the 'ExifTool by Phil Harvey' and extracted the files in a folder within htdocs with an index.php
in it, in which I hope to set up a PHP interface to the functionalities provided by ExifTool. Actually I can't even run a simple "Hello World" Perl script to run from a PHP script and handle the output. I tried using shell_exec
but not sure if I'm putting the right commands in. (./exiftool t/images/ExifTool.jpg
, but the output is nothing.)
[I'm trying to make a website where I can upload an image and have the exif info displayed with the help of ExifTool assuming ./exiftool -j t/images/ExifTool.jpg
returns some nice JSON data. But I'm not sure how to get it to work to begin with :( Thanks.]