I have a linux box hosting up a PHP page, from which I am calling a Perl script to do some stuff. I was curious as to what user does the Perl script get ran with? My Linux box is running Apache, so I wasn't sure if it was the Apache user which is calling the Perl script. I tried doing `echo $USER` and `whoami` and returning to the PHP script but neither seem to return any useful information.
The reason for this is I'm using GPG to encrypt something and it doesn't seem to want to work when I call it from the PHP page but runs fine when I run it from the command line.
Thanks, NickIn reply to PHP calling Perl Question by ncuneo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |