Bu benim kod
$z = new ZipArchive();
if ($z->open('file.zip')) {
for ($i=0; $i<$z->numFiles;$i++) {
$aZipDtls = $z->statIndex($i);
echo $aZipDtls['name'].'<br>';
}
}
döndürür
docs/
docs/INSTALL.html
docs/auth_api.html
docs/install/
docs/install/index.htm
ama ben böyle bir dosya ağacı dönmek istiyorum
docs/
-INSTALL.html
-auth_api.html
install
-index.htm
to make it ul and li and i want to do this do use the PHP File Tree