#42709 [NEW]: $_SERVER['PHP_SELF'] provides wrong values
| From: | sarith at securehosting dot com | Date: | Wed, 19 Sep 2007 11:39:08 +0000 |
| Subject: | #42709 [NEW]: $_SERVER['PHP_SELF'] provides wrong values | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-117686@lists.php.net to get a copy of this message | ||
From: sarith at securehosting dot com
Operating system: Windows Server 2003 IIS 6.0 CGI
PHP version: 5.2.4
PHP Bug Type: *Configuration Issues
Bug description: $_SERVER['PHP_SELF'] provides wrong values
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 bug report at http://bugs.php.net/?id=42709&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=42709&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=42709&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=42709&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=42709&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=42709&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=42709&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=42709&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=42709&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=42709&r=support
Expected behavior: http://bugs.php.net/fix.php?id=42709&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=42709&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=42709&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=42709&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=42709&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=42709&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=42709&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=42709&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=42709&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=42709&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=42709&r=mysqlcfg