the whole idea of passthru is to output the stdout i'd use exec and the stdout is stored as an array > Hello, > > Trying to prevent the output dumping of passthru() and instead store > the output in a variable. > > I read an article that suggested this: > > ob_start(); > > passthru("command"); > > $output = ob_get_contents(); > > ob_end_clean(); > > But that didn't work. Is there *ANY* way to achieve what I want? > > > Thanks, > Chris. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php