|
Posted by Laphan on 12/02/06 22:22
"Janwillem Borleffs" <jw@jwscripts.com> wrote in message
news:4571fb3d$0$70836$dbd4d001@news.euronet.nl...
Laphan wrote:
> How do I get the equivalent in php 4? All I want to do is extract
> the whole contents of 1 zip file and put the extracted contents,
> should be a folder containing various files, into another folder.
>
Visit http://www.php.net/zip and scroll down to the fourth example.
JW
>
>
Many thanks for your speedy and helpful reply JW
This one does seem to work, which is great, but I need assistance on getting
it to work in the way that I need.
Basically I will have a zip file on the server and this zip file consists of
one main folder (the user zips a folder) and inside that you have a min of 3
sub-folders then a number of jpgs, gifs and css files in each of these
sub-folders. All I want to do is extract the zip and get the folder (and
it's sub-folders/files inside it) sat in the same directory as the zip file.
I can then take it from there.
The ExtractTo command seems perfect, but also doesn't appear to work in php
4.
Any ideas?
Thanks
Navigation:
[Reply to this message]
|