View Single Post
  #2  
Old 11th February 2011, 23:47
welshdemon welshdemon is offline
Junior Member
 
Join Date: Feb 2011
Posts: 2
Thanks: 0
Thanked 1 Time in 1 Post
Default

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.
Reply With Quote