Re: [PHP] PHP exec function.

2005-06-10 Thread Richard Lynch
On Fri, June 10, 2005 3:04 am, Bob Snowdon said: > > $execstring="winposd.exe \"${physical}-${logical}-${parameter}\""; > $output=exec($execstring); > exec only returns the FIRST LINE of output -- perhaps winposd (whatever that is) prints a blank line first? For that matter, winposd mig

Re: [PHP] PHP exec function.

2005-06-10 Thread Richard Davey
Hello Bob, Friday, June 10, 2005, 11:04:52 AM, you wrote: BS> Investigation/debugging indicates that the exec call simply doesn't invoke the BS> win32 application at all with no error indications from PHP. (echo statements BS> either side of the call). I have checked things like the path to the

[PHP] PHP exec function.

2005-06-10 Thread Bob Snowdon
I run Windows XP Home SP2, Apache 1.3.24 and PHP 4.3.1. I have a php script which uses the exec function to invoke a win32 application which writes its results to a file which is then used in what is returned to the browser by the script. It works. I wanted to install the same script invoking t