View Single Post
Old 09-26-2008, 11:57 AM   #2 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

hmm, I dunno tbh I'll have to do some further research.
try this to see what its actually doing:
PHP Code:
exec("zip -vr $deploy_dir/$safe_name $deploy_dir/$safe_name >> log.txt"); 
then read log.txt.

Also (off topic slightly) would using 'mv' instead of copying and deleting dirs help?
Code:
mv oldname newname
can be used to move and rename folders/files
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote