note 83857 added to function.rar-extract

From: Date: Sun, 15 Jun 2008 20:05:33 +0000
Subject: note 83857 added to function.rar-extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-140480@lists.php.net to get a copy of this message
There's a small problem in Example #2 by Erik Jenssen listed above. This line: $entry = rar_entry_get($rar_file, $file); Should actually read: $entry = rar_entry_get($rar_file, $file->name); As it's an object, and the second parameter of rar_entry_get needs to be a string (of the file path). ---- Server IP: 92.48.74.199 Probable Submitter: 81.154.36.16 ---- Manual Page -- http://www.php.net/manual/en/function.rar-extract.php Edit -- https://master.php.net/note/edit/83857 Del: integrated -- https://master.php.net/note/delete/83857/integrated Del: useless -- https://master.php.net/note/delete/83857/useless Del: bad code -- https://master.php.net/note/delete/83857/bad+code Del: spam -- https://master.php.net/note/delete/83857/spam Del: non-english -- https://master.php.net/note/delete/83857/non-english Del: in docs -- https://master.php.net/note/delete/83857/in+docs Del: other reasons-- https://master.php.net/note/delete/83857 Reject -- https://master.php.net/note/reject/83857 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#140480) next »