Re: Pipe $var to a shell command
| From: | DvDmanDT | Date: | Fri, 13 Jun 2003 22:52:19 +0000 |
| Subject: | Re: Pipe $var to a shell command | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-151432@lists.php.net to get a copy of this message | ||
Ok, last reply from me I think... Must read until I know for sure before I
post...
http://se.php.net/manual/en/function.proc-open.php
seems to be just what you
need!
"Tim T" <tim@bwsweb.net> skrev i meddelandet
news:20030613215805.43303.qmail@pb1.pair.com...
> I have a mem var $myoutput I would like to pipe it to the input of a
> shell_exec command.
>
> I tried shell_exec("command < $myoutput") however this is not quite
right.
> Anybody have any ideas??
>
>