on phpclasses.org there is a ZIP class that does all you need to do.
Havnt got the time to give you the url right now, but look there.

-- 
Kim Steinhaug
---------------------------------------------------------------
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
---------------------------------------------------------------


"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Vincent M. wrote:
>
> > Hello,
> >
> > Is there an easy way to unzip a zipped file which contains files
> > (images), using a function from the zlib or any.
> > To something like that:
> >
> > exec("unzip zipfile.zip -d /path/to/images") ;
> >
> > But without using the exec function.
> >
> > Thanks,
> > Vincent.
> >
>
> You may want to check here....
>
> http://www.php.net/manual/en/ref.zip.php
>
> The functions are read only. I don't know if this will do it, but it
> seems that if you can /read/ an entry in the zip file, you should be
> able to write it somewhere.
>
> However, if you just want to execute the command line app on the OS and
> not use exec(), just enclose your statement in backticks....
>
> `unzip zipfile.zip -d /path/to/images`;
>
> -- 
> By-Tor.com
> It's all about the Rush
> http://www.by-tor.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to