24 $info = &$this->getid3->info;
26 $info[
'fileformat'] =
'rar';
28 if ($this->option_use_rar_extension ===
true) {
29 if (function_exists(
'rar_open')) {
30 if ($rp = rar_open(
$info[
'filenamepath'])) {
31 $info[
'rar'][
'files'] = array();
32 $entries = rar_list($rp);
33 foreach ($entries as $entry) {
39 $this->
error(
'failed to rar_open('.
$info[
'filename'].
')');
42 $this->
error(
'RAR support does not appear to be available in this PHP installation');
45 $this->
error(
'PHP-RAR processing has been disabled (set $getid3_rar->option_use_rar_extension=true to enable)');
getID3() by James Heinrich info@getid3.org //
$option_use_rar_extension
static array_merge_clobber($array1, $array2)
static CreateDeepArray($ArrayPath, $Separator, $Value)