/
proc
/
3430793
/
root
/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
zip
/
examples
/
File Upload :
llllll
Current File: //proc/3430793/root/usr/local/lsws/phpbuild/php-8.0.7/ext/zip/examples/extractAll.php
<?php $zip = new ZipArchive(); echo $zip->filename . "\n"; $zip->open("test.zip"); /* $zip->addFile("./modules/"); $zip->addFile("./testempty"); */ echo $zip->status . "\n"; echo $zip->statusSys . "\n"; echo $zip->numFiles . "\n"; echo $zip->filename . "\n"; var_dump($zip); $files = array('test', 'testdir/test2'); if (!$zip->extractTo("./testext/path/to")) { echo "error!\n"; echo $zip->status . "\n"; echo $zip->statusSys . "\n"; } $zip->close();
Copyright ©2k19 -
Hexid
|
Tex7ure