#42709 [Opn->Fbk]: $_SERVER['PHP_SELF'] provides wrong values
| From: | jani@php.net | Date: | Wed, 19 Sep 2007 13:18:27 +0000 |
| Subject: | #42709 [Opn->Fbk]: $_SERVER['PHP_SELF'] provides wrong values | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117690@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: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Windows Server 2003 IIS 6.0 CGI
PHP Version: 5.2.4
New Comment:
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..
Previous Comments:
------------------------------------------------------------------------
[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