#19606 [Opn->Bgs]: chdir has broken ~

From: Date: Wed, 25 Sep 2002 23:29:37 +0000
Subject: #19606 [Opn->Bgs]: chdir has broken ~
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20375@lists.php.net to get a copy of this message
ID: 19606 Updated by: iliaa@php.net Reported By: chandleg@wizardsworks.org -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Linux PHP Version: 4.2.1 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php The ability to resolve the '~' is a feature of your shell, it is not supported by PHP nor any other programing language to my knowledge. Previous Comments: ------------------------------------------------------------------------ [2002-09-25 18:23:33] chandleg@wizardsworks.org chdir("/"); chdir("~user/"); $dirname = getcwd(); echo $dirname; / chdir("/"); chdir("/home/user"); $dirname = getcwd(); echo $dirname; /home/user/ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19606&edit=1

« previous php.bugs (#20375) next »