D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
proc
/
self
/
root
/
opt
/
alt
/
php53
/
usr
/
share
/
doc
/
pear
/
Archive
/
docs
/
Filename :
tutorial_iterator.php
back
Copy
<?php require_once 'tutorial_autoload.php'; $archive = ezcArchive::open( "compress.zlib:///tmp/my_archive.tar.gz" ); // The foreach method calls internally the iterator methods. foreach( $archive as $entry ) { echo $entry, "\n"; $archive->extractCurrent( "/tmp/target_location/" ); } ?>