Re: running php as cgi script

From: Date: Sat, 16 Nov 2002 05:17:16 +0000
Subject: Re: running php as cgi script
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-124700@lists.php.net to get a copy of this message
I'm not intending to run the script from the shell. What I am trying to do is encrypt emails with Gnupg. The problem is Gnupg runs as my user name and php runs as nobody. So I'm trying to run a php script as cgi to deliver the data to Gnupg since a cgi script will run as my username. I am using a perl script right now and it works, but the rest of the application is in php, so its causing some me some design difficulties. I'm going to try some the suggestions posted and see if I can get it working. Thanks, SW On Friday 15 November 2002 11:04 pm, you wrote: > Joseph, I think he's trying to run the script from the shell--in which > case it looks okay to me (besides perhaps a terminating semicolon on the > last line) > > Marco

« previous php.general (#124700) next »