vurfa.blogg.se

Image exiftool perl
Image exiftool perl











image exiftool perl

However, the eval wasn't working as there were some ' in the exif values, so this was messing up the array.

image exiftool perl

I then modified my perl script so that it would output text in the format for a php array, then in the php file I eval'd the variable that called the perl script.

image exiftool perl

You just call your script from php like $var = `/usr/bin/perl -T /home/brighto/public_html/photosite/cgi/test2.cgi '$file' 'EXIF'` Then in the perl script you access your variables through for $file and for 'EXIF'. I found out how to do that here: Passing parameters to perl script. Next I tried to make it so I could pass the image filename from php to the perl script. I tried #3 and #4 out of those, of which #4 worked.

  • Use the normal command to run the script from the command line as the value of a php variable, but surround it with backticks instead of quotes.
  • Googling for this I found a number of methods: This morning I was trying to get my perl script to run in php.













    Image exiftool perl