I was having hard time uploading CMS files to the server to install it, but finally I found this great script that works fine for me, now I can FTP the zip files, and then unzip them easily in no time at all using the unzip script.
Overview:
This application is useful when there is a need to upload a many files with complicated directory structure to web server, for example, forum systems (like phpBB) or other applications like phpMyAdmin) which consist of many files arranged in complicated directory structure. All you need to do is to upload the archive file and PHP Unzipper will take care of creating the correct directory layout and file extraction. This program is especially helpful when you don’t have FTP access to web server but generally it will be helpful in all cases when there is a need to upload many small files to web server.
Network assessment services help companies run their IT resources smoothly and efficiently.
Installation:
- Upload files index.php and pclzip.lib.php to your web server (of course, put both files in the same directory, also you can rename index.php to whatever you wish)
- CHMOD index.php to 777
- Open index.php in your web browser, it will ask to register first.
- Type in the username and the password
- Now you can login and start to use the program.
Note: username and password are stored in the pass.php file and they should be absolutely inaccessible to anyone except you. If you ever forget/want to change them, just open this file and they will be there
Usage:
Everything is as simple as possible here:
- Browse through directories and look for zip files.
- Once you find a zip file you can either view its contents or unzip it. If you choose to view it, file listing will be displayed. If you choose to unzip it, the archive will be extracted in the same directory.
You can download it here, I am sharing it with everybody as it’s licensed under GNU Lesser General Public License.
{ 46 comments }
Dear Friend,
I face the same problem and you help me at the end.
Thanks friend
Perfect Solution.
Thanks
@Bilal Ahmed Bajwa, You are welcome, glad that you like it!
This is really great
Thanks @Nina, Glad you like it and I hope it will be useful for you!
didn’t work for me, size error
this is what i get
Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 543 bytes) in /**/pclzip.lib.php on line 3387
Hello @fatmaggie, i am not the developer who made this script, I have used it before and it worked for me just fine, maybe you didn’t follow the steps, plz try to follow the steps once again!
thanks for your visit.
Thanks it works for me too but i havenot tried for the file having more size…but it works…..
@sabina, That’s good, thanks a lot for your feedback!
Just perfect. Thanks!
You are welcome @Ran, I feel great when ever someone find this useful!
.-= Hesham´s last blog ..Features That Didn’t Make it into Wordpress Version 2.8 =-.
Very cool post. These are the informations that I was looking for. Stay Awesome!
@IJ Styles, You are welcome.. check my latest post for more scripts!
.-= Hesham´s last blog ..How To Compete Limited Godaddy File Manager Archiving Tool =-.
You save lot of time.
Thanks a lot.
@Anirudh Singh, Great .. you are welcome!
.-= Hesham´s last blog ..How To Compete Limited Godaddy File Manager Archiving Tool =-.
Its cool. Thank you very much for sharing the unzipper.
@Guru Amrit Preet Singh, thank you for your comment, I am happy that this helped you! Good Luck!
.-= Hesham´s last blog ..How to Generate Content and Ideas for your Blog from your own Tweets by Twitter Tools? =-.
Uhmmm im having a problem, once i finished registering and click on the “you can login now” link i just get sent back to the register page …
@Salmon, I am so sorry Salmon, I am not into code that much, I am just using this script and it’s working for me just fine! I am not sure why you are getting this error!
.-= Hesham´s last blog ..Nothing can stop Famous Bloggers Club FBC from Getting Famous =-.
how to turn CHMOD to 7777 ..
what is it ?
and how is it ?
please help me brother
.-= Kiuncobra´s last blog ..[Mp3] Aadhavan[LAME | VBR | Crystal|Clear|Quality+ With Cover] =-.
@Kiuncobra, This post will help you to understand what is CHMOD
.-= Hesham´s last blog ..Nothing can stop Famous Bloggers Club FBC from Getting Famous =-.
OMG IT WORKS great I am really appreciate for your work ,you saved my time
thanks friend.!!!!!
@reckjavik, Yeah it’s working and this is why I share it with all of you! you are welcome!
.-= Hesham´s last blog ..36 Links at Spicy Week on Twitter =-.
can u tell how I extract other formats using this .? or do I need another codes or an extension?
@reckjavik, I am sorry but this is the only format this code can handle, I am not the developer of this script! but I will be so happy if I got an email or a comment from you one day telling me that you have found something interesting!
awesome tool, its working fine for me
@rckapildev, I am glad that you find it helpful for your work!
.-= Hesham´s last blog ..Famous Bloggers are Driving Me Crazy! =-.
Thank you very much. It seems like a magic for my problem!
.-= saidbakr´s last blog ..نوع وضيع من البريد التطفلي =-.
Please help me, I am getting following error:
Warning: chdir() [function.chdir]: open_basedir restriction in effect. File() is not within the allowed path(s): (/home/:/usr/lib/php:/tmp) in /home/a9030732/public_html/upload/index.php on line 249
no it works well It works well with me well
set the CMD to 777 and dont put the .php files into the root directory it may cause the trouble.
and make sure your host supported with latest php version.
it doesn’t need a SQL database.
Worked great!! Thanks so much!
Thank You. Works great.
hi br0 ! when i open unzip.php the file,it gives the following error
“Warning: is_dir(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (/www/zzl.org/t/e/s/testsite123/htdocs) in /www/zzl.org/t/e/s/testsite123/htdocs/unzip.php on line 218 Warning: is_file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (/www/zzl.org/t/e/s/testsite123/htdocs) in /www/zzl.org/t/e/s/testsite123/htdocs/unzip.php on line 226 Warning: is_file(): open_basedir restriction in effect. File(..) is not within the allowed path(s): (/www/zzl.org/t/e/s/testsite123/htdocs) in /www/zzl.org/t/e/s/testsite123/htdocs/unzip.php on line 228 .ftpquota
pclzip.lib.php
unzip.php
wordpress.zip”
and when i try to unzip the file it gives the following error
“Browse your server directories to find the zip file you want to unzip. Click the file to unzip it. Please make sure you have given appropriate permissions! Abort unzip.php : Missing zlib extensions”
Please help out
@Adil, I am not sure! I am sharing what works for me! sorry for that!
.-= Hesham´s last blog ..Thesis Themes Tutorials for WordPress Blogs that you are Looking For =-.
Excellent tool. Thanks for posting.
Thanks for share. I’m try
.-= Jasa Pembuatan Web´s last blog ..BGU ikut donasi untuk Joomlaorg =-.
Perfect !!!
Thank you for this one!
Thank you for sharing! great post!
.-= mobsguy´s last blog ..My Online Business Strategy System =-.
This is just beautiful… thanks Hesham!
Thanks for the info though a lot has already a knowledge on this still it is a great reference
Hi i have error
Abort pclzip.lib.php : Missing zlib extensions
You’re the Man!!
Awesome!!
Do you know a similar solution to compact files on server?
Again,
Thank you!!!
Excellent program. Thank you very much for sharing !
hmm i dint get the pass.php file in the donload u provided.
This is AWESOME
,
thanks buddy!