How to extract a ZIP file in a server using PHP

Post Reply
Tony
Lieutenant
Lieutenant
Posts: 86
Joined: Tue Jul 21, 2009 4:11 pm

How to extract a ZIP file in a server using PHP

Post by Tony » Thu Nov 19, 2009 11:29 pm

Extracting ZIP file in a server using PHP

STEP 1:
Upload the following file to the same location as the ZIP file.
unzip.zip
(300 Bytes) Downloaded 431 times
STEP 2:
Call function as

Code: Select all

http://www.coderlink.com/folder1/unzip.php?archive=file.zip
Note 1: This will extract the contents to the same folder.
Note 2: Make sure you have write permissions to write to the folder.
Mysoogal
Captain
Captain
Posts: 223
Joined: Thu Dec 17, 2009 7:15 am
Location: Planet VPS

Re: How to extract a ZIP file in a server using PHP

Post by Mysoogal » Wed Dec 23, 2009 5:21 am

thankkk you !!!! i don't have to always use ssh to unzip or unrar :mrgreen: saves so much time
Post Reply

Return to “PHP & MySQL”