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
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
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():
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
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á
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
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
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
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
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
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
>I need to run some external programs from a PHP script.
>How could I do that?
You might be able to use them through (D)COM objects, since you're on an NT
server. I'm not sure about the passthrough() functions and stuff on NT,
though... I've never really used them (or had reason to).
--Jason
-
>This happens only when I use php as a module:
>When I'd like to run a command with exec or system function I got always
this message
>and the program never executes:
>Warning: Unable to fork [the command's name what I'd like to run] in
filename on line XY
Your OS may have placed an upper bound o
13 matches
Mail list logo