#21222 [NEW]: problem with dirname
| From: | Beater at orgalan dot de | Date: | Fri, 27 Dec 2002 21:24:46 +0000 |
| Subject: | #21222 [NEW]: problem with dirname | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-28505@lists.php.net to get a copy of this message | ||
From: Beater@orgalan.de
Operating system: Win2k
PHP version: 4.3.0
PHP Bug Type: Directory function related
Bug description: problem with dirname
Hi there,
<?php
echo $_SERVER['REQUEST_URI'] . '<br>';
echo '"' . dirname($_SERVER['REQUEST_URI']) . '"';
?>
produces following output...
/test.php
"\"
Instead of the output above, i expected
/test.php
""
Can someone confirm this?
Daniel
--
Edit bug report at http://bugs.php.net/?id=21222&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21222&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21222&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21222&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21222&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21222&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21222&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21222&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21222&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21222&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21222&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21222&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21222&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21222&r=isapi