Can somebody tell me way this will work at the command line but will
not work using PHP I also tried exec and system. from the command line
it adds all the files and directors. But using the script below from
PHP it creates an empty archive.

shell_exec("cd /home/sites/ | tar --create --verbose
--file=/home/sites/ web");


Best regards,
 rdkurth                          mailto:[EMAIL PROTECTED]

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to