Re: [PHP] PHP script and external C program

2002-05-28 Thread Dan Hardiker
http://www.php.net/popen Process Handling. > - Original Message - > From: "John Holmes" <[EMAIL PROTECTED]> > To: "'ing.Martin Prá¹ek'" <[EMAIL PROTECTED]>; > <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 8:28 PM > Subj

Re: [PHP] PHP script and external C program

2002-05-28 Thread ing.Martin Prášek
- Original Message - From: "John Holmes" <[EMAIL PROTECTED]> To: "'ing.Martin Prášek'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, May 27, 2002 8:28 PM Subject: RE: [PHP] PHP script and external C program > I don't hav

Re: [PHP] PHP script and external C program

2002-05-27 Thread Evan Nemerson
exec wont work if you need to use stdin and read from stdout. You can try php.net/pcntl but that is disabled by default, and probably wont be enabled oun your host. I don't even know if it existed in 4.0.6... -- If there is no higher reason--and there is none--then my own reason must be the

RE: [PHP] PHP script and external C program

2002-05-27 Thread John Holmes
I don't have example code, but what you want is the exec() function. Be careful passing user variables to a command line program. www.php.net/exec ---John Holmes... > -Original Message- > From: ing.Martin Prášek [mailto:[EMAIL PROTECTED]] > Sent: Monday, May 27, 2002 1:21 PM > To: [EMA