Re: file archive query

From: Date: Fri, 24 Jul 2009 16:50:00 +0000
Subject: Re: file archive query
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-29957@lists.php.net to get a copy of this message
Hello Vali, > can you tell me if it is possible to add files to a sub-directory > within a zip file using the PEAR file_archive module? > > ie > take files xxx.txt, yyy.txt, zzz.txt > create zip file called example.zip > add files xxx.txt, yyy.txt, zzz.txt to the folder example.zip/temp/ You can either add all files by hand, or use PHP5's native ZipArchive functionlity - you should do this if you're running php5. File_Archive has been written for php4 since there was no native zip functionality yet. -- Regards/Mit freundlichen Grüßen Christian Weiske -= Geeking around in the name of science since 1982 =-

Attachment: [application/pgp-signature] signature.asc
« previous php.pear.general (#29957) next »