* Sam Smith <php@xxxxxxxx>: > > shell_exec("zip -r ddd ddd"); // don't work Many version of zip won't append the .zip extension. In such a case, what you have above will try to name the zip file the same as the existing directory, which obviously won't work. Try: shell_exec("zip -r ddd.zip ddd"); -- Matthew Weier O'Phinney Zend Certified Engineer http://weierophinney.net/matthew/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php