If $myoutput is "foo", it will attempt to get input from a file named
"foo". Use "command | $myoutput" instead.
Tim T wrote:
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.
Anybo
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??
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
2 matches
Mail list logo