#46132 [Opn->Bgs]: rar extracts to "documents and settings" if no absolute path
| From: | pajoye@php.net | Date: | Sat, 20 Sep 2008 16:55:48 +0000 |
| Subject: | #46132 [Opn->Bgs]: rar extracts to "documents and settings" if no absolute path | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-129132@lists.php.net to get a copy of this message | ||
ID: 46132
Updated by: pajoye@php.net
Reported By: jehy at valar dot ru
-Status: Open
+Status: Bogus
Bug Type: *Compression related
Operating System: Windows XP
PHP Version: 5.2.6
New Comment:
Please report rar bug in pecl:
http://pecl.php.net/rar
Previous Comments:
------------------------------------------------------------------------
[2008-09-20 15:03:01] jehy at valar dot ru
Sorry, I was too tired to write a normal bug report...
Code example:
##opening,reading archive...
$entry = rar_entry_get($rar_file, $entry->name);#all ok
$t=$entry->extract(false,'.');
if(!$t)
echo 'Not extracted';#does not output
And the file extracts not to the current working directory but to
"documents and settings/UserName" where UserName is my currently used
username.
------------------------------------------------------------------------
[2008-09-19 22:06:49] jehy at valar dot ru
Description:
------------
For some magical reasons, on windows, when you use relative path for
extracting, rar extracts in "Documents and Settings\UserName"...
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46132&edit=1