#43030 [NEW]: $_SERVER['PHP_SELF'] problem
| From: | oopul at 126 dot com | Date: | Fri, 19 Oct 2007 05:15:38 +0000 |
| Subject: | #43030 [NEW]: $_SERVER['PHP_SELF'] problem | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-118695@lists.php.net to get a copy of this message | ||
From: oopul at 126 dot com
Operating system: Windows 2003
PHP version: 5.2.4
PHP Bug Type: IIS related
Bug description: $_SERVER['PHP_SELF'] problem
Description:
------------
MY SYSTEM:Windows 2003
PHP VERSION:PHP 5.2.4
When I run php in the FASTCGI under the IIS 6.0
Then the $_SERVER['PHP_SELF'] of not being normal.
For example:
my php script is named 'test.php'
the test code:
----------------------------
<?php
echo $_SERVER['PHP_SELF'];
?>
----------------------------
The result is "/test.php/test.php"
The Error is found in FastCGI/CGI with windows 2003 IIS6
-------------------------------------------------------------------
If the php script run in apache module or IIS isapi,
the error is not found. why?
-------------------------------------------------------------------
if When I run php in the FastCGI under the IIS 5.1 With Windows XP
also not error found!
Reproduce code:
---------------
<?php
echo $_SERVER['PHP_SELF'];
?>
Expected result:
----------------
/test.php/test.php
Actual result:
--------------
/test.php
--
Edit bug report at http://bugs.php.net/?id=43030&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=43030&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=43030&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=43030&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=43030&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43030&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=43030&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43030&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43030&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43030&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43030&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43030&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=43030&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=43030&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43030&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43030&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43030&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43030&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43030&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43030&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43030&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43030&r=mysqlcfg