From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.2.1 PHP Bug Type: Directory function related Bug description: chdir has broken ~
chdir("/");
chdir("~user/");
$dirname = getcwd();
echo $dirname;
/
chdir("/");
chdir("/home/user");
$dirname = getcwd();
echo $dirname;
/home/user/
--
Edit bug report at http://bugs.php.net/?id=19606&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19606&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19606&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19606&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19606&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19606&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19606&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19606&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19606&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19606&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19606&r=globals
