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
2 1:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] PHP script and external C program > > Problem. I have a php 4.0.6. on linux as Apache module. I need to do > folowing: > > I have in my script some value, for example "$value" > and > in /bin on my linux box c l

[PHP] PHP script and external C program

2002-05-27 Thread ing.Martin Prášek
Problem. I have a php 4.0.6. on linux as Apache module. I need to do folowing: I have in my script some value, for example "$value" and in /bin on my linux box c language program called "something". (I need speed) . I need to parse $value thru stdin /bin/something program to get from its std