Re: ZipArchive, but without files

From: Date: Wed, 22 Sep 2010 15:39:04 +0000
Subject: Re: ZipArchive, but without files
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-308259@lists.php.net to get a copy of this message
Am 22.09.2010 17:32, schrieb Jonathan Mills:
On 22/09/2010 12:11, Viacheslav Chumushuk wrote:
Hello. As I understand you in a right way you need next function http://ua.php.net/manual/en/function.gzcompress.php
Thanks for the suggestion Viacheslav , but I'd trying to the create the complete zipfile structure, gzcompress() just compresses the file's data (and in a slightly different manner to what ZIP does - the first and last 4 bytes are different to what zip produces) and, probably more importantly, doesn't add the file name headers on either end But the principle - ie something that returns a "string" - is what I'm looking for. Kind Regards Jonathan Hi Jonathan,
and what if you serialize your String? You can save Objects in it... Regards Carlos

« previous php.general (#308259) next »