#42699 [Fbk->Opn]: PHP_SELF duplicates path
ID: 42699
User updated by: vvv at colocall dot net
Reported By: vvv at colocall dot net
-Status: Feedback
+Status: Open
Bug Type: CGI related
Operating System: FreeBSD 6.2, apache 2.2.6
PHP Version: 5.2.4
New Comment:
I've tried php5.2-200709180830 before submitting the bug.
I've got the same behavior as using php-5.2.4.
Previous Comments:
------------------------------------------------------------------------
[2007-09-18 10:55:35] jani@php.net
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
------------------------------------------------------------------------
[2007-09-18 10:51:34] vvv at colocall dot net
Description:
------------
Path appears to be duplicated.
The bug is absolutely the same as #42523, but not related to
WinXP/IIS.
Reproduce code:
---------------
echo $_SERVER['PHP_SELF'];
Expected result:
----------------
/path/test.php
Actual result:
--------------
/path/test.php/path/test.php
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42699&edit=1
Thread (10 messages)