[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