[PHP] php executable and environmental variables

2003-11-06 Thread Tom Diamond
Hello all, I am trying to implement a simple web server (in Java) and I want to add php support. For the moment I do a Process p = Runtime.getRuntime().exec(php /path/to/php/file), I grab the output, seperate headers from body and send it back to the client. For simple php pages this thing

Re: [PHP] php executable and environmental variables

2003-11-06 Thread Eugene Lee
On Thu, Nov 06, 2003 at 11:11:13AM +0200, Tom Diamond wrote: : : I am trying to implement a simple web server (in Java) and I want to add : php support. For the moment I do a Process p = : Runtime.getRuntime().exec(php /path/to/php/file), I grab the output, : seperate headers from body and

[PHP] php executable

2001-08-20 Thread Nick Davies
Is it possible to surpress the X-Powered-By: PHP/4.0.6 Content-type: text/html text when running php from the commandline? Thanks. Nick. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To

Re: [PHP] php executable

2001-08-20 Thread Jason Brooke
php -q try php -h for other options - if that fails, there's always the manual - http://www.php.net/manual - Original Message - From: Nick Davies [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, August 20, 2001 8:06 PM Subject: [PHP] php executable Is it possible to surpress

Re: [PHP] php executable

2001-08-20 Thread Chris Lambert
Subject: [PHP] php executable | | Is it possible to surpress the | | X-Powered-By: PHP/4.0.6 | Content-type: text/html | | text when running php from the commandline? | | Thanks. | Nick. | | | -- | PHP General Mailing List (http://www.php.net/) | To unsubscribe, e-mail: [EMAIL PROTECTED