#25450 [NEW]: dirname() not working correct
| From: | robert_hunter21 at yahoo dot co dot uk | Date: | Tue, 09 Sep 2003 13:53:32 +0000 |
| Subject: | #25450 [NEW]: dirname() not working correct | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-47312@lists.php.net to get a copy of this message | ||
From: robert_hunter21 at yahoo dot co dot uk
Operating system: windows 2000
PHP version: 4.3.3
PHP Bug Type: Directory function related
Bug description: dirname() not working correct
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 bug report at http://bugs.php.net/?id=25450&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25450&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25450&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=25450&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=25450&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=25450&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=25450&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=25450&r=support
Expected behavior: http://bugs.php.net/fix.php?id=25450&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=25450&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=25450&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=25450&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25450&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=25450&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=25450&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=25450&r=gnused