Re: [PHP] Program Execution and reading results

2007-06-21 Thread makhan
Thanks guys for your response. I think this output from reply can solve my problem. Becuase I can return some value like ' fileready == true' as the output from the executable program. And when fileready is true I can read the output text file. Can you please explain a little bit what kind of outp

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Daniel Brown
On 6/21/07, Zoltán Németh <[EMAIL PROTECTED]> wrote: 2007. 06. 21, csütörtök keltezéssel 10.46-kor Richard Heyes ezt írta: > > hmm I thought the OP's question was about how can he get output/return > > value from the external program (the file name for example) - maybe it > > was my misunderstand

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 10.46-kor Richard Heyes ezt írta: > > hmm I thought the OP's question was about how can he get output/return > > value from the external program (the file name for example) - maybe it > > was my misunderstanding > > In which case I would still use shell_exec():

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding In which case I would still use shell_exec(): -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Bas

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 10.08-kor Richard Heyes ezt írta: > > use exec() instead of shell_exec() > > Why? hmm I thought the OP's question was about how can he get output/return value from the external program (the file name for example) - maybe it was my misunderstanding greets Zoltá

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
use exec() instead of shell_exec() Why? -- Richard Heyes 0844 801 1072 http://www.websupportsolutions.co.uk Knowledge Base and HelpDesk software -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Richard Heyes
makhan wrote: Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has been written so that i can read it usin

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Zoltán Németh
2007. 06. 21, csütörtök keltezéssel 01.13-kor makhan ezt írta: > Thanks Paul for your response. my issue is not just reading from the output > text file. But my issue is what I would do in the php script while the > program is execting( i.e after issueing shell_exec() command) and how would > i kno

Re: [PHP] Program Execution and reading results

2007-06-21 Thread Paul Scott
On Thu, 2007-06-21 at 01:13 -0700, makhan wrote: > Thanks Paul for your response. my issue is not just reading from the output > text file. But my issue is what I would do in the php script while the > program is execting( i.e after issueing shell_exec() command) and how would > i know that file h

Re: [PHP] Program Execution and reading results

2007-06-21 Thread makhan
Thanks Paul for your response. my issue is not just reading from the output text file. But my issue is what I would do in the php script while the program is execting( i.e after issueing shell_exec() command) and how would i know that file has been written so that i can read it using php. Thanks

Re: [PHP] Program Execution and reading results

2007-06-20 Thread Paul Scott
On Wed, 2007-06-20 at 21:42 -0700, makhan wrote: > Now after my > program has written its output I want to read this text file from php and > send it back to the browser. > Can someone please guide me how I can do this. This seems like an overly complex way of doing something that sounds quite si