note 100407 deleted from function.rar-extract by danbrown

From: Date: Fri, 28 Jan 2011 14:31:08 +0000
Subject: note 100407 deleted from function.rar-extract by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-176431@lists.php.net to get a copy of this message
Note Submitter: casivaagustin at gmail dot com ---- Actually the name field in RarEntry are private, you must use the getter, the result code for extract all content in a rar file is like this <?php $rar_file = rar_open($compresed_file); $list = rar_list($rar_file); foreach ($list as $file) { $entry = rar_entry_get($rar_file, $file->getName()); $entry->extract($dest); } rar_close($rar_file); ?>

« previous php.notes (#176431) next »