Ron Clark wrote:
Daniel Schierbeck wrote:

Ron Clark wrote:

Capture the output in the $output variable then ob_clean to empty the output buffer before printing the the desired message.



ob_get_clean() is preferable:

$output = ob_get_clean(); // Gets the buffered output and cleans the buffer

Didn't need the contents of the buffer. All I needed was the last line which was contained in $output = system(....).

Sorry, my bad...

--
Daniel Schierbeck

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to