passing a variable to exec()
| From: | Clif Wieden | Date: | Sun, 25 Jun 2000 19:07:51 +0000 |
| Subject: | passing a variable to exec() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-3016@lists.php.net to get a copy of this message | ||
Hi,
I'm trying to pass a variable to exec():
$tmp="/path/file.txt";
exec("zip $tmp");
I checked the manual, but couldn't find the correct syntax. Any help
would be appreciated.
Thanks,
clif