Rar Funkcje
PHP Manual

rar_entry_get

(No version information available, might be only in CVS)

rar_entry_getGet entry object from the Rar archive

Opis

RarEntry rar_entry_get ( resource $rar_file , string $entry_name )

Get entry object from the Rar archive.

Parametry

rar_file

A Rar file resource, opened with rar_open().

entry_name

Path to the entry within the Rar archive.

Zwracane wartości

rar_get_entry() returns entry object or FALSE on error.

Przykłady

Example #1 rar_entry_get() example

<?php

$rar_file 
rar_open('example.rar') or die("Failed to open Rar archive");

$entry rar_entry_get($rar_file'Dir/file.txt') or die("Failed to find such entry");

print_r($entry);

?>


Rar Funkcje
PHP Manual