Creating zip files
| From: | It flance | Date: | Tue, 08 Jul 2008 19:17:32 +0000 |
| Subject: | Creating zip files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-276450@lists.php.net to get a copy of this message | ||
Hi,
I am using the "pclziplibrary" to create a zip archive.
Now i have the following error message:
Error : PCLZIP_ERR_READ_OPEN_FAIL (-2) : Unable to open archive 'archive.zip' in wb mode
If someone is using the same library please tell me what this error means exactly. I am using the
same code in my PC, it is working but not in the real server.
What i am able to do in my pc is writing the archive to the disc. Do you know if there is a way to
create the archive just in memory and let the user download it without having to store it in the
server?
Thank you