It flance wrote:
Hi,
Thank you for your answer. Now i figured out how to build the zip archive.
I am using a class that returns the compressed data:
$zipedresult = $zipfile->zipped_file();
This data, i can write it to a file. but i would like to make it downloadable
without having to store it in the server. Is that possible?
Thanks
Yes. Now that you have the zip file contents, send the correct headers
to the browser for content-type and disposition, etc using header(),
then echo $zipedresult. I can never remember the header to send I have
to look it up most times.
-Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php