Fixed.
As a newbie to PHP and Linux. I was trying to use getopt and argv and various other methods to get the variables in to the PHP script.
It turns out I had to use $_env in my PHP script.
$AUTHD_ACCOUNT = $_ENV["AUTHD_ACCOUNT"];
I am posting this in case anybody ever gets stuck and stumbles across this thread from google.
|