Re: [PHP] Using an external program.

2002-04-21 Thread Miguel Cruz
On Sun, 21 Apr 2002, Raymond Lilleodegard wrote: > I am trying to interact with a simple exe program. I manage to get the > program started, but I need to send some commands to it as well. My script > looks like this: > > > $var = exec('fax.exe'); > > $var = shell_exec('cmd S'); > > $var = sh

[PHP] Using an external program.

2002-04-21 Thread Raymond Lilleodegard
Hi all! I am trying to interact with a simple exe program. I manage to get the program started, but I need to send some commands to it as well. My script looks like this: And do I need to run the exec() function everytime I would like the program to do some work for me? Is there a way to acces