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(....).

--
Ron Clark
System Administrator/Web Coordinator
Armstrong Atlantic State University
11935 Abercorn Street Savannah, Ga 31419
Phone: 912 961 3234
Fax: 912 927 5353


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



Reply via email to