Categories Uncategorised

Unzip folder into filezilla

1] Upload the zip file into server (like as public_html or www folder).

2] Make the file into these folder like as index.php
3] Copy the code  and past into index.php file then save it.

// assuming is in the same directory as the executing script.
$file = ‘’;

// get the absolute path to $file
$path = pathinfo(realpath($file), PATHINFO_DIRNAME);

$zip = new ZipArchive;
$res = $zip->open($file);
if ($res === TRUE) {
// extract it to the path we determined above
echo “WOOT! $file extracted to $path”;
} else {
echo “Doh! I couldn’t open $file”;

4] Execute the index.php file by hitting website URL.

Leave a Reply

Your email address will not be published. Required fields are marked *