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 makhan
pscott wrote: > > > 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. > > T

[PHP] Program Execution and reading results

2007-06-20 Thread makhan
I am using php to write inputs I receive from browser into a text file.Than I use shell_exec() to execute a program on server that writes those inputs from the text file and write its output to another text file. Now after my program has written its output I want to read this text file from php an

Re: [PHP] Unable to use exec() in php

2007-06-17 Thread makhan
. I have made my matlab script to write on a text file but this file is never created. Jim Lucas-2 wrote: > > makhan wrote: >> Hi >> >> I am using exec() funtions to run simple commands like exec('date') in >> php >> without any success. I am usi

[PHP] Unable to use exec() in php

2007-06-17 Thread makhan
Hi I am using exec() funtions to run simple commands like exec('date') in php without any success. I am using apache on my windows system. Can someno guid me what could be wrong. I have checked the php.ini file and its not in the safe mode. -- View this message in context: http://www.nabble.c