X7ROOT File Manager
Current Path:
/opt/alt/php53/usr/share/doc/pear/Archive/docs
opt
/
alt
/
php53
/
usr
/
share
/
doc
/
pear
/
Archive
/
docs
/
ðŸ“
..
📄
CREDITS
(229 B)
📄
LICENSE
(1.53 KB)
📄
example.php
(1.44 KB)
📄
tutorial.txt
(4.96 KB)
📄
tutorial_autoload.php
(495 B)
📄
tutorial_directories.php
(390 B)
📄
tutorial_extract.php
(532 B)
📄
tutorial_iterator.php
(298 B)
📄
tutorial_read_only.php
(383 B)
📄
tutorial_recursive.php
(949 B)
📄
tutorial_replacing.php
(390 B)
Editing: tutorial_replacing.php
<?php require_once 'tutorial_autoload.php'; date_default_timezone_set( "UTC" ); $archive = ezcArchive::open( "/tmp/my_archive.zip" ); $archive->truncate(); $filesToAppend[] = "/tmp/file1.txt"; $filesToAppend[] = "/tmp/file2.txt"; // The second parameter specifies prefix. The prefix is normally not included // in the archive. $archive->appendToCurrent( $filesToAppend, "/tmp/" ); ?>
Upload File
Create Folder