Re: shell_exec("zip.. ?

From: Date: Thu, 04 Aug 2005 16:32:58 +0000
Subject: Re: shell_exec("zip.. ?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-220018@lists.php.net to get a copy of this message
* Sam Smith <php@itab.com>: > > 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/

« previous php.general (#220018) next »