#46132 [Opn]: rar extracts to "documents and settings" if no absolute path

From: Date: Sat, 20 Sep 2008 15:03:03 +0000
Subject: #46132 [Opn]: rar extracts to "documents and settings" if no absolute path
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-129131@lists.php.net to get a copy of this message
ID: 46132 User updated by: jehy at valar dot ru Reported By: jehy at valar dot ru Status: Open Bug Type: *Compression related Operating System: Windows XP PHP Version: 5.2.6 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#129131) next »