Pipe $var to a shell command

From: Date: Fri, 13 Jun 2003 21:58:04 +0000
Subject: Pipe $var to a shell command
Groups: php.general 
Request: Send a blank email to php-general+get-151427@lists.php.net to get a copy of this message
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??

« previous php.general (#151427) next »