David Nicholson <mailto:[EMAIL PROTECTED]>
    on Tuesday, August 05, 2003 5:12 PM said:

> $output = array();
> exec("command",$output);
> $output = implode("",$output);

That's a good idea!

Well how about this? (posted in another message)

$output = explode("\n",chop(`$command`));

That is working great and it's only one line. The problem is that I have
no idea WHY it works and what the ` characters do.

Can you fill me in?


Thanks,
chris.

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

Reply via email to