R: creating ZIP file from mySQL content?
| From: | --- | Date: | Mon, 10 Sep 2001 14:55:45 +0000 |
| Subject: | R: creating ZIP file from mySQL content? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66761@lists.php.net to get a copy of this message | ||
zip support in php is read-only.
but keep in mind that zip is not simply a compressed file, is a compressed
archive, like .tar.gz or .tar.bz2
you can use zlib for gzip files or bzip2 for bzip2 files...
if you need absolutely a zip file format you need to pipe it to a program
like the unix program zip, passing the text via stdin.
Look at the php manual...
Brack <brak@nettaxi.com> wrote in message 3B9A23C9.4072.DA331A@localhost...
> I have a site where ppl can upload their text-based ideas in real
> time, so that I have new records in db every day. When I did
> uploading by hands and had over 200 files on that site I distributed
> all site content in downloadable for of zipped win-help formate.
> Well, I don't think that I can do help file dinamically but what about
> normal zip file. Can I create the script which would do it for me
> (creating zip-file of all records in db dynamically)?
>
> Youri
> <>< <>< <>< <>< God is our provider ><>
> ><> ><> ><>
> http://www.body-builders.org