From:             michaels at sc dot edu
Operating system: Windows Server 2000
PHP version:      5.3.0
PHP Bug Type:     IIS related
Bug description:  PHP_SELF duplicate path

Description:
------------
This issue is the same as reported in Bug #45637 but is happening with
IIS5 running on Server 2000.

The variable:

_SERVER["PHP_SELF"]     /forums/adm/index.php/forums/adm/index.php

should be _SERVER["PHP_SELF"]   /forums/adm/index.php

This is causing phpBB version 3 to operate incorrectly, by providing an
incorrect connection string.

Reproduce code:
---------------
These are vars from the info page - please note _SERVER["PHP_SELF"]:

_SERVER["SERVER_PORT"]  80
_SERVER["SERVER_PORT_SECURE"]   0
_SERVER["SERVER_PROTOCOL"]      HTTP/1.1
_SERVER["SERVER_SOFTWARE"]      Microsoft-IIS/5.0
_SERVER["SystemDrive"]  C:
_SERVER["SystemRoot"]   C:\WINNT
_SERVER["TEMP"] C:\WINNT\TEMP
_SERVER["TMP"]  C:\WINNT\TEMP
_SERVER["USERPROFILE"]  C:\Documents and Settings\WWW\ASPNET
_SERVER["windir"]       C:\WINNT
_SERVER["SCRIPT_FILENAME"]      D:\Inetpub\phpBB3\adm\index.php
_SERVER["PHP_SELF"]     /forums/adm/index.php/forums/adm/index.php
_SERVER["REQUEST_TIME"] 1255105911

Expected result:
----------------
_SERVER["PHP_SELF"]     /forums/adm/index.php

Actual result:
--------------
_SERVER["PHP_SELF"]     /forums/adm/index.php/forums/adm/index.php

-- 
Edit bug report at http://bugs.php.net/?id=49825&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=49825&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=49825&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=49825&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=49825&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=49825&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=49825&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=49825&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=49825&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=49825&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=49825&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=49825&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=49825&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=49825&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=49825&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=49825&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=49825&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=49825&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=49825&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=49825&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=49825&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=49825&r=mysqlcfg

Reply via email to