[cPanel] Unzipping Files On The Server

tsj5j

New Member
Messages
48
Reaction score
0
Points
0
This can save you alot of hardship, especially when it comes to installing forums.
You no longer need to spend hours uploading file after file.

Now, just zip up the forum, upload it, and using the attached php script, unzip it.

To install the script, simply upload all the files to a folder, say, /unzip/.
Now just browse around, find the file you want to unzip, and click unzip!

(Don't worry admins, this is released as freeware!)

If you like my post, please add it to my reputation and post a post of thanks. :teeth_smi
 

Attachments

  • unzip.zip
    23.4 KB · Views: 164

prasys

New Member
Messages
330
Reaction score
0
Points
0
Just curious , did you create it or you got it from somwhere else..I'm just asking...Thats all
 

vbchris

New Member
Messages
180
Reaction score
0
Points
0
I'm very interested in this script, i've uploaded and tested it, It works perfectly ty for sharing this :biggrin:
 

vbchris

New Member
Messages
180
Reaction score
0
Points
0
if its possible to manipulate files this way on a webserver, surely it would be possible to execute a file that has been uploaded to a server using a simliar method?, im just curious if so then that would be very bad as people could exeucte malicious files ect..
 

tsj5j

New Member
Messages
48
Reaction score
0
Points
0
No.
This script could be created as php, by default, supports the 'zip' function.

This script simply uses this function and present it in a graphical interface.

Reference:
http://sg2.php.net/manual/en/ref.zip.php

The above page shows some userful information.
 

n4tec

Active Member
Messages
3,312
Reaction score
0
Points
36
Re: Unzipping Files On The Server

nice script!!!!

nforchange
 

Conquester777

New Member
Messages
180
Reaction score
0
Points
0
Re: Unzipping Files On The Server

can you log in using SSH? cause then you don't need a php script, you can just upload a zip'd file to the server and use a simple command, in fact, im surprised cpanel doesn't have a way of unzipping files itself
 

Maurice

New Member
Messages
1,930
Reaction score
0
Points
0
Re: Unzipping Files On The Server

Conquester777 said:
, im surprised cpanel doesn't have a way of unzipping files itself

It does, but people find this more fun/ :innocent: :cat:
 

tsj5j

New Member
Messages
48
Reaction score
0
Points
0
Its not a matter of fun, when I posted this.

Almost every free host, and even some paid host consider shell access dangerous.
This is true to some extent - if not properly secured, trojans/viruses can be executed.
No host wants downtime, so shell did not really become popular.

Moreover, shell has a dull, command line interface, whereas the script is more friendly.
Hence, shell to me, is slowly becoming obsolete, as little hosts provide them for free.

Even if they do, the hosting plans are usually pitifully small...
 

zhizhaqy

New Member
Messages
64
Reaction score
0
Points
0
Upload your file to your favorite directory
From cpanel
Open File manager
click the zip file
extract it

cpanel is one of the best tool to build our web fast and secure :)
 

Maurice

New Member
Messages
1,930
Reaction score
0
Points
0
zhizhaqy said:
Upload your file to your favorite directory
From cpanel
Open File manager
click the zip file
extract it

cpanel is one of the best tool to build our web fast and secure :)

That was already said like 2 times. Please read.
 

masterchief3k

New Member
Messages
678
Reaction score
0
Points
0
i cant log in!!!! i tried all different ways of logging in (with my cpanel log-in) and it wont log me in!
 

Vietkid58

Member
Messages
450
Reaction score
0
Points
16
so this script basiclaly acts like the one in cpanel except in a graphic interface?

anyways, can it zip up files? i would like something that can, all i see is unzipping...
 
Top