Bug #62818 [Wfx]: $_SERVER['PHP_SELF'] problem
| From: | ciropellegrino at libero dot it | Date: | Sat, 18 Aug 2012 08:13:13 +0000 |
| Subject: | Bug #62818 [Wfx]: $_SERVER['PHP_SELF'] problem | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172668@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62818&edit=1
ID: 62818
User updated by: ciropellegrino at libero dot it
Reported by: ciropellegrino at libero dot it
Summary: $_SERVER['PHP_SELF'] problem
Status: Wont fix
Type: Bug
Package: Built-in web server
Operating System: Windows 7
PHP Version: 5.4.5
Assigned To: laruence
Block user comment: N
Private report: N
New Comment:
Thanks for the explanation.
I'm sorry for the false alarm.
Bye
Previous Comments:
------------------------------------------------------------------------
[2012-08-17 12:44:00] laruence@php.net
this behavior act the same as other webserver which supports PATH_INFO like apache
------------------------------------------------------------------------
[2012-08-14 15:12:45] ciropellegrino at libero dot it
Description:
------------
An extra character / is inserted in the superglobal $_SERVER['PHP_SELF']
Test script:
---------------
<?php
echo($_SERVER['PHP_SELF']);
?>
Expected result:
----------------
/index.php
Actual result:
--------------
/index.php/
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62818&edit=1