|
|
#1 (permalink) |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
With this function, you can extract automatically ZIP-files on your server.
I personally use it in combination with an uploader. More specific for a photo-gallery . But you also can use it for different purpose .ATTENTION: This file (the function) and the ZIP-file have to be CHMODed to 77, otherwise it won't work! PHP Code:
|
|
|
|
|
|
#4 (permalink) | |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
Quote:
. I will tell you how I use... and I also DO have a hjost with cPanel!I have a photogallery installed on my school's site. Teachers have a special teachers-panel on that site, and they can upoad pictures to there. But I put there they should make a ZIP with all pictures inside, and upload it then, because it takes less time to upload. Then I logon on the admin-panel, and I run this script ... so when all files are extracted, they are also immediatly aded to the gallery, and they are even up there. So, that is an example of using it, and it is not just for "beginners" who want to learn PHP. It is for many more features good .
|
|
|
|
|