Re: passing a variable to exec()
| From: | Teodor Cimpoesu | Date: | Sun, 25 Jun 2000 19:29:03 +0000 |
| Subject: | Re: passing a variable to exec() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3019@lists.php.net to get a copy of this message | ||
Hi Clif!
On Sun, 25 Jun 2000, Clif Wieden wrote:
> Hi,
>
> I'm trying to pass a variable to exec():
>
> $tmp="/path/file.txt";
> exec("zip $tmp");
if exec("
which zip $tmp") works then you'll have to provide a
path to the zip binary ;)
-- teodor