|
Posted by Clive on 10/20/95 11:30
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.
>
> thanks
>
> clive
>
> James 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 been
> uploaded
> >>to 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
>
>
--
[Back to original message]
|