#42947 [Opn->Fbk]: $_SERVER ['PHP_SELF'] produces wrong result
| From: | jani@php.net | Date: | Fri, 12 Oct 2007 13:50:34 +0000 |
| Subject: | #42947 [Opn->Fbk]: $_SERVER ['PHP_SELF'] produces wrong result | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-118470@lists.php.net to get a copy of this message | ||
ID: 42947
Updated by: jani@php.net
Reported By: john at molony dot com
-Status: Open
+Status: Feedback
Bug Type: Scripting Engine problem
Operating System: Windows XP with IIS
PHP Version: 5.2.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows (zip):
http://snaps.php.net/win32/php5.2-win32-latest.zip
For Windows (installer):
http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
AFAIK, this is already fixed.
Previous Comments:
------------------------------------------------------------------------
[2007-10-12 12:18:34] john at molony dot com
Description:
------------
$_SERVER ['PHP_SELF'] produces wrong result
in file index.php
$url = $_SERVER ['PHP_SELF']. 'page2.php';
produces:-
http://localhost/index.php/page2.php
The problem seem to be with 5.2.4 code works perfectly with 5.2.3
Using php in cgi mode with IIS
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42947&edit=1