#29916 [NEW]: $_SERVER['DOCUMENT_ROOT'] does not have a trailing slash in PHP 4.3.8
| From: | koen at startphone dot com | Date: | Tue, 31 Aug 2004 13:35:32 +0000 |
| Subject: | #29916 [NEW]: $_SERVER['DOCUMENT_ROOT'] does not have a trailing slash in PHP 4.3.8 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-65514@lists.php.net to get a copy of this message | ||
From: koen at startphone dot com
Operating system: any
PHP version: 4.3.8
PHP Bug Type: *Directory/Filesystem functions
Bug description: $_SERVER['DOCUMENT_ROOT'] does not have a trailing slash in PHP 4.3.8
Description:
------------
The parameter $_SERVER['DOCUMENT_ROOT'] contains a trailing slash in PHP
4.3.7 but not in PHP 4.3.7
for example the expression echo $_SERVER['DOCUMENT_ROOT']
- returns /var/www/myrootweb/ in PHP 4.3.7
- returns /var/www/myrootweb in PHP 4.3.8
--
Edit bug report at http://bugs.php.net/?id=29916&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29916&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29916&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29916&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=29916&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=29916&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=29916&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=29916&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=29916&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=29916&r=support
Expected behavior: http://bugs.php.net/fix.php?id=29916&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=29916&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=29916&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=29916&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29916&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=29916&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=29916&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=29916&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=29916&r=float