
 Manthey - 2009-03-28 20:18:35 - 
In reply to message 4 from M H Rasel 
Hi, many thanks for your response.
> So far i understand you want to add some file into a zip archive but the 
> file data will come from a blob field 
I am sorry, but this is not the problem. The zip file comes from the db and the data contained in the zip-file has to be unpacked and be handed on.
At the moment the ZIP file is written to the filesystem and then is loaded anew:
(1)	$result = file_put_contents('newzipfile.zip', $datafromdb, LOCK_EX);
(2)	$myZip = new ZipArchive;
(3)	$myZip->open('newzipfile.zip');
I would like to avoid steps (2) and (3).
Yours sincerely