#42709 [Fbk->Bgs]: $_SERVER['PHP_SELF'] provides wrong values
| From: | jani@php.net | Date: | Wed, 19 Sep 2007 13:18:39 +0000 |
| Subject: | #42709 [Fbk->Bgs]: $_SERVER['PHP_SELF'] provides wrong values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117691@lists.php.net to get a copy of this message | ||
ID: 42709
Updated by: jani@php.net
Reported By: sarith at securehosting dot com
-Status: Feedback
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: Windows Server 2003 IIS 6.0 CGI
PHP Version: 5.2.4
New Comment:
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Already fixed in CVS too.
Previous Comments:
------------------------------------------------------------------------
[2007-09-19 13:18:26] jani@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php
If you can provide more information, feel free to add it
to this bug and change the status back to "Open".
Thank you for your interest in PHP.
And already fixed in CVS..
------------------------------------------------------------------------
[2007-09-19 11:39:07] sarith at securehosting dot com
Description:
------------
Wrong output of PHP_SELF directive when PHP was upgraded to 5.2.4
This directive works fine on 5.2.2 and 5.2.3
Reproduce code:
---------------
For a script
https://www.somedomain.com/test/index.php
with the following code:
echo $_SERVER['PHP_SELF'];
Expected result:
----------------
/phpinteractive/index.php
Actual result:
--------------
/phpinteractive/index.php/phpinteractive/index.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42709&edit=1