Re: zipped files
| From: | Clive | Date: | Thu, 27 Oct 2005 14:49:55 +0000 |
| Subject: | Re: zipped files | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224727@lists.php.net to get a copy of this message | ||
Thanks its working
clive
James Lobley wrote:
These are the relevant sections from my code: include("e:/bin/pclzip.php"); $provpath_dec = 'E:/Prov/Processed_Files/'; $provpath_unzip = 'E:/data/prov/'; $filename = '20051026202333.zip'; $archive = new PclZip($provpath_dec . $filename); $archive->extract(PCLZIP_OPT_PATH, $provpath_unzip); As you'd probably guess from the paths shown, this is running on a windoze box. James On 10/27/05, *Clive* <clive@zlogic.co.za <mailto:clive@zlogic.co.za>> wrote:Hi,I found that class but could not get it to work. Well it seem to work, as I could view the files information, but the extract() didn't do anything. I checked the writes for the directory the zip file was in and it did have wright rights. Maybe you can post a code snippet.thankscliveJames Lobley wrote:This is the class I use: http://www.phpconcept.net/pclzip/man/en/index.php On 10/26/05, Clive <clive@zlogic.co.za<mailto:clive@zlogic.co.za>> wrote:Hi does any one have code/examples for unzipping a file thats beenuploadedto a server. I would prefer a class rather than something that uses zip.lib as it may not be configured on the server. clive -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--