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/www.directphp.net/ | tar --create --verbose --file=/home/sites/www.directphp.net/sitebackup/backup.192002.tar web"); -- Best regards, rdkurth mailto:[EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php