ID: 20514 Comment by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Directory function related Operating System: win32 PHP Version: 4.3.0RC1 New Comment:
for info : D:\php-4.3.0-Win32>php-cgi.exe -v PHP 4.3.0RC1 (cgi-fcgi), Copyright (c) 1997-2002 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2002 Zend Technologies Previous Comments: ------------------------------------------------------------------------ [2002-11-20 07:23:18] [EMAIL PROTECTED] This was discussed when we've got the bug in include() and require() with symlinks. Wez and ilia decided this if I'm remembering well. ------------------------------------------------------------------------ [2002-11-20 06:18:12] [EMAIL PROTECTED] What is the exact name of the executable you use? And can you run it with the -v option to show it? Derick ------------------------------------------------------------------------ [2002-11-20 06:16:50] [EMAIL PROTECTED] I couldn't find any related messages in php-dev@. when/where was this change discussed? ------------------------------------------------------------------------ [2002-11-20 05:53:37] [EMAIL PROTECTED] Yes, this is new and wanted. getcwd is returning the current __FILE__ directory. ------------------------------------------------------------------------ [2002-11-20 05:27:42] [EMAIL PROTECTED] It occurs on my IIS5/win2k/PHP4.3.0rc1 (from the binary distrib): when I use an include , the function getcwd returns the directory of the include and not the directory of the main page. in previous PHP versions, this was not the case : the getcwd() would always return the directory of the main page. E. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20514&edit=1
