php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29916 $_SERVER['DOCUMENT_ROOT'] does not have a trailing slash in PHP 4.3.8
Submitted: 2004-08-31 15:35 UTC Modified: 2004-10-08 01:00 UTC
Votes:2
Avg. Score:4.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (50.0%)
From: koen at startphone dot com Assigned:
Status: No Feedback Package: *General Issues
PHP Version: 4.3.8 OS: any
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
49 - 6 = ?
Subscribe to this entry?

 
 [2004-08-31 15:35 UTC] koen at startphone dot com
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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-30 19:12 UTC] sniper@php.net
And the SAPI you're using is..? (what webserver?)

 [2004-10-08 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 16 04:01:27 2024 UTC