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 > Subject: RE: [PHP] PHP script and external C program > > >> I don't have example code, but what you want is the exec() function. >> Be careful passing user variables to a command line program. > > In PHP docs it seems,that exec() does not solve my problem . It is > easy to grab output of "mycomand" to an array, but it seems , that > there is no way to feed "mycommand"s STDIN with something, ie > commandline is only way to pass some argument or data for > "mycomand"..... > > > I need something like this hypotetical example: > > /bin/mycommand < $variable > $parsed_variable > or > $variable | /bin/mycommand | $parsed_variable > > > > > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php -- Dan Hardiker [[EMAIL PROTECTED]] ADAM Software & Systems Engineer First Creative Ltd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php