YYYYYYYEEEEEESSSSSSSS! Finally - It works!!
I used the following: $fp = popen("$mycommand", "w+"); fwrite($fp, $myoutput); Thank you for your assistance. I've been looking at this for 2 days and nothing was coming to mind! Again thank you! Tim "Dvdmandt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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" <[EMAIL PROTECTED]> skrev i meddelandet > news:[EMAIL PROTECTED] > > 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