Re: [PHP] Creating zip files
В сообщении от Wednesday 09 July 2008 01:22:32 Eric Butera написал(а): [1] http://us2.php.net/manual/en/ref.zip.php Thank you for this link! -- === С уважением, Манылов Павел aka [R-k] icq: 949-388-0 mailto:[EMAIL PROTECTED] === А ещё говорят так: Родился сам - помоги другому. -- Неизвестный автор [fortune]
[PHP] Creating zip files
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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating zip files
On Tue, Jul 8, 2008 at 3:17 PM, It flance [EMAIL PROTECTED] wrote: 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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Has it ever worked on the server? You might need to check permissions to see if your php script has access to write the zip archive to disc. If you're using php5 you can use the ZipArchive[1] extension that is built in now. It is quite fast and easy to use. [1] http://us2.php.net/manual/en/ref.zip.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Creating zip files
On Tue, Jul 8, 2008 at 3:17 PM, It flance [EMAIL PROTECTED] wrote: 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 Does the file `archive.zip` exist where the script is looking for it, and is it readable? This has nothing to do with PHP itself. Check with the support team for that project: http://www.phpconcept.net/pclzip/index.en.php -- /Daniel P. Brown Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just $59.99/mo. with no contract! Dedicated servers, VPS, and hosting from $2.50/mo. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] creating ZIP files
On Friday 21 September 2001 00:31, Raphael Pirker wrote: this link refers to a function READING zip files, not actually creating one... There's an article on creating zip files with pure PHP (other libraries not needed) on zend's site. Actually this is the 1st article in a series of them. See: http://www.zend.com/zend/spotlight/creating-zip-files1.php -- Meir Kriheli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] creating ZIP files
On Friday 21 September 2001 00:31, Raphael Pirker wrote: this link refers to a function READING zip files, not actually creating one... Sorry, forgot to send the link to the zip creation class, http://www.zend.com/codex.php?id=535single=1 Have fun -- Meir Kriheli -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] creating ZIP files
Hi Guys, Is there any way I can create a zip file from files? (filenames and their paths will be specified in an array) Any help would be very much appreciated! TIA, Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] creating ZIP files
Raphael, check fillowing link: http://www.php.net/manual/en/ref.zip.php Php has built-in zip functions. Alex - Original Message - From: Raphael Pirker [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, September 20, 2001 4:23 PM Subject: [PHP] creating ZIP files Hi Guys, Is there any way I can create a zip file from files? (filenames and their paths will be specified in an array) Any help would be very much appreciated! TIA, Raphael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] creating ZIP files
this link refers to a function READING zip files, not actually creating one... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]