RE: [SOAP] make genproxy.php easier to use as a command

From: Date: Wed, 25 Jun 2003 22:08:00 +0000
Subject: RE: [SOAP] make genproxy.php easier to use as a command
Groups: php.soap 
Request: Send a blank email to php-soap+get-735@lists.php.net to get a copy of this message
> From jcastagnetto@yahoo.com Wed Jun 25 17:52:23 2003 > > The PHP CGI needs the -q to avoid producing the HTTP headers, the PHP CLI does > not. > > For more details look at the documentation at: > > http://www.php.net/manual/en/features.commandline.php > > You seem to be using the PHP CGI and mistaking it for the CLI. The CLI will > work as Arnaud mentions. > > As for using the '#!', not everyone has php in /usr/bin or /usr/local/bin, some > have it in /opt/bin, or other places, so your solution will break, unless you > have some foolproof method to figure out the right interpreter to use. Might be > doable using a secondary shell script. OK, thanks very much for enlightening me. I had seen both the CLI and CGI terms but somehow hadn't gotten that they represented different beasts. And I agree about the vagaries of the PHP binary location. So I withdraw my suggestion to modify genproxy.php. Jonathan Schilling

« previous php.soap (#735) next »