[PHP] php and gnupg problems.

2002-08-28 Thread Jon Lawrence
Hi, Appologies if this comes through twice. I tried to post it via goolg groups but it didn't seem to work. If I run the following script from within apache, then the script fails and returns $error=2 ?php $data=this is a test; $GNUPGHOME=/home/nobody/.gnupg; putenv(GNUPGHOME=$GNUPGHOME);

Re: [PHP] php and gnupg problems.

2002-08-28 Thread Jason Wong
On Thursday 29 August 2002 00:19, Jon Lawrence wrote: If I run the following script from within apache, then the script fails and returns $error=2 ?php $data=this is a test; $GNUPGHOME=/home/nobody/.gnupg; putenv(GNUPGHOME=$GNUPGHOME); $HOME=/home/nobody/; putenv(HOME=$HOME); system