update : 2015.11.03
php.shukuma.com검색:
|
RarEntry::extract(PECL rar >= 0.1) RarEntry::extract — Extract entry from the archive 설명
public bool RarEntry::extract
( string
$dir
[, string $filepath = ""
[, string $password = NULL
[, bool $extended_data = false
]]] )
RarEntry::extract() extracts the entry's data.
It will create new file in the specified
인수
Warning
Prior to version 2.0.0, this function would not handle relative paths correctly. Use realpath() as a workaround. 반환값
성공 시 변경점
예제
Example #1 RarEntry::extract() example
<?php Example #2 How to extract all files in archive:
<?php |