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

Reply via email to