ID: 19606 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -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] [EMAIL PROTECTED] 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
