Hacked By AnonymousFox

Current Path : /proc/thread-self/root/opt/alt/php53/usr/share/doc/pear/Archive/docs/
Upload File :
Current File : //proc/thread-self/root/opt/alt/php53/usr/share/doc/pear/Archive/docs/tutorial_read_only.php

<?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/" );
}
?>

Hacked By AnonymousFox1.0, Coded By AnonymousFox