Re: ZipArchive, but without files
| From: | Ashley Sheridan | Date: | Thu, 23 Sep 2010 18:27:12 +0000 |
| Subject: | Re: ZipArchive, but without files | ||
| References: | 1 2 3 4 5 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-308271@lists.php.net to get a copy of this message | ||
On Thu, 2010-09-23 at 11:40 +0100, Jonathan Mills wrote:
> > and what if you serialize your String? You can save Objects in it...
>
> True, but the defined format for the item in the database is a zip file
> (it gets exported later to another, external, application which eats zip
> files) :-(
>
What about passing it through to the shell to deal with? I'm assuming
you're on a Linux server for this:
zip -r - directory_path | cat > topipe
Thanks,
Ash
http://www.ashleysheridan.co.uk