PATH:
opt
/
alt
/
php55
/
usr
/
share
/
doc
/
pear
/
Archive
/
docs
<?php require_once 'tutorial_autoload.php'; $options = new ezcArchiveOptions( array( 'readOnly' => true ) ); $archive = ezcArchive::open( "compress.zlib:///tmp/my_archive.tar.gz", null, $options ); // The foreach method calls internally the iterator methods. foreach( $archive as $entry ) { echo $entry, "\n"; $archive->extractCurrent( "/tmp/target_location/" ); } ?>
[-] LICENSE
[open]
[+]
..
[-] tutorial_autoload.php
[open]
[-] tutorial.txt
[open]
[-] tutorial_iterator.php
[open]
[-] CREDITS
[open]
[-] tutorial_extract.php
[open]
[-] tutorial_recursive.php
[open]
[-] example.php
[open]
[-] tutorial_replacing.php
[open]
[-] tutorial_directories.php
[open]
[-] tutorial_read_only.php
[open]