Web Hosting Talk







View Full Version : Unzip files in your account


topdome
07-10-2007, 07:53 PM
Once uploaded , you can unzip the files following these steps :
1. Create file called unzip.php into the same folder as the archive.
2. Copy/paste the following content :
<? exec("unzip myfile.zip"); ?>
3. Replace myfile.zip with the name of your file
4. Open yourdomain.com/path_to/unzip.php in a browser
You will haev the .zip extracted into the same folder as the archive.

Outlaw Web Master
07-11-2007, 12:37 AM
what a great little tip for any would be script kiddy hacker lol

probably not the best place to post this :)

SEV3N
07-14-2007, 07:13 AM
Thanks for the info, I think is the same thing used by most cPanels.

ServeByte_JJameson
08-05-2007, 03:22 PM
You can extract a zip file using cPanel's File Manager. Select the file and choose the option "Extract".

Jova
08-07-2007, 04:02 AM
Thanks for tip, I will try it with Dreamhost, they do not have any web based file manager.

Dynaceron
08-15-2007, 08:28 AM
Never tried that but probably it wont work when php safe mode is on.

Kaumil
08-23-2007, 09:02 PM
I'm assuming this is for hosts who do not have SSH access? Get yourself a host with SSH access!