downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<rar_closeRar::extract>
Last updated: Thu, 26 Jun 2008

rar_entry_get

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

rar_entry_get — Get entry object from the Rar archive

Description

RarEntry rar_entry_get ( resource $rar_file , string $entry_name )

Get entry object from the Rar archive.

Parameters

rar_file

A Rar file resource, opened with rar_open().

entry_name

Path to the entry within the Rar archive.

Return Values

rar_get_entry() returns entry object or FALSE on error.

Examples

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);

?>



add a noteadd a note User Contributed Notes
Get entry object from the Rar archive
There are no user contributed notes for this page.




<rar_closeRar::extract>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs