note 55625 rejected from function.shell-exec by nlopess
| From: | nlopess@php.net | Date: | Tue, 09 Aug 2005 10:30:07 +0000 |
| Subject: | note 55625 rejected from function.shell-exec by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-93294@lists.php.net to get a copy of this message | ||
Note Submitter: support at shababnet dot com
----
i try to use shell_exec to run tar command but it not work
i get time out when i try to do that
$output = shell_exec('tar -cf - /home/user/public_html/dir | gzip > files.tar.gz');
echo "<pre>$output</pre>";