PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Rar::extract> <rar_close
Last updated: Fri, 22 Aug 2008

view this page in

rar_entry_get

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

rar_entry_getRar アーカイブからエントリオブジェクトを取得する

説明

RarEntry rar_entry_get ( resource $rar_file , string $entry_name )

Rar アーカイブから、エントリオブジェクトを取得します。

パラメータ

rar_file

rar_open() でオープンした Rar ファイルリソース。

entry_name

Rar アーカイブ内のエントリへのパス。

返り値

rar_get_entry() は、成功した場合にエントリオブジェクト、 エラー時には FALSE を返します。

例1 rar_entry_get() の例

<?php

$rar_file 
rar_open('example.rar') or die("Rar アーカイブのオープンに失敗しました");

$entry rar_entry_get($rar_file'Dir/file.txt') or die("そのようなエントリは見つかりません");

print_r($entry);

?>



add a note add a note User Contributed Notes
rar_entry_get
There are no user contributed notes for this page.

Rar::extract> <rar_close
Last updated: Fri, 22 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites