You are here: Re: php zip code will NOT work on my WinXP Pro IIS installtion!! « PHP Programming Language « IT news, forums, messages
Re: php zip code will NOT work on my WinXP Pro IIS installtion!!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация