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

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