Hello guest, welcome to Friendosphere, the community can't wait for your contribution.

How can I extract a specific folder (single) folder from a Zipped archive

0 votes
16 views
asked Oct 5 in PHP by DanielTheGeek Q & A Ninja (1,310 points)
edited Oct 7 by DanielTheGeek

I want to extract a specific folder, instead of all folders from an archive using PHP's native ZipArchive class.

<?php
 $zip = new ZipArchive();
 
 // Code to extract specific folder using ZipArchive class below.

 

 

 

Please log in or register to answer this question.

Welcome to FriendoSphere, the friendly Q & A community.
...