Re: use of system/exec
| From: | Mark | Date: | Wed, 24 Oct 2001 18:25:22 +0000 |
| Subject: | Re: use of system/exec | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-72140@lists.php.net to get a copy of this message | ||
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;
?>