On Wed, 24 Oct 2001 18:19:19 +0000, John Gurley wrote:
>    Could someone please show me an example of code using system
>exec. Would be great if the string was a unix command.

I like backticks the best because they're easiest to deal with.
$output=`ls | wc`;
echo $output;

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to