On Tue, 7 Oct 2003 09:41:03 +0800, you wrote:
>Have another problem here I need to get the output of this syntax
>
>$ps = (passthru("ps -ef"));
>
>and store it in an array line by line,Turn on output buffering, grab the output of your script, then turn it off. (ob_start, ob_get_contents, ob_end_clean) But that's a hack; you're better off using shell_exec instead of passthru -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

