ID: 25450 Updated by: [EMAIL PROTECTED] Reported By: robert_hunter21 at yahoo dot co dot uk -Status: Open +Status: Feedback Bug Type: Directory function related Operating System: windows 2000 PHP Version: 4.3.3 New Comment:
What SAPI are you using? (what webserver?) What does 'echo $_SERVER['PHP_SELF'];' output? Previous Comments: ------------------------------------------------------------------------ [2003-09-09 09:53:32] robert_hunter21 at yahoo dot co dot uk Description: ------------ After updating to version 4.3.3 dirname() is not working properly (or the same as in 4.3.0 at least). dirname($_SERVER['PHP_SELF']) does not give directory path. Reproduce code: --------------- <? echo dirname($_SERVER['PHP_SELF']); ?> Expected result: ---------------- /test Actual result: -------------- \ ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25450&edit=1