ID:               45637
 User updated by:  djbass at dsm dot id dot au
 Reported By:      djbass at dsm dot id dot au
-Status:           Feedback
+Status:           Open
 Bug Type:         CGI related
 Operating System: WinVista/Abyss X1
 PHP Version:      5.2CVS-2008-07-27 (snap)
 New Comment:

Can you be more specific as to what information you feel is missing.

I originally read the how-to for reporting and looked at previous bug
reports as a guideline.

Nothing complex is required to reproduce the bug.

I have various PHP scripts running under a locally installed web server
(http://localhost).

Until recently I had not had any specific problems until I tried to do
a new Joomla install. It always errored out with a 500 Internal Server
Error.

I traced the problem to a line of code containing
$_SERVER['PHP_SELF'];

When I output the variable it always contains a duplicate path of
itself. Eg:

http://localhost/apc/test.php

Produces:
/apc/test.php/apc/test.php


http://localhost/joomla/index.php

Produces:
/joomla/index.php/joomla/index.php


Previous Comments:
------------------------------------------------------------------------

[2008-07-27 09:12:22] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2008-07-27 08:55:41] djbass at dsm dot id dot au

Description:
------------
Path output via PHP_SELF is duplicated.

Appears to be same as http://bugs.php.net/bug.php?id=42523 but still
occuring in latest CVS Snapshot.

Running on Windows Vista with Abyss Web Server X1.

Reproduce code:
---------------
echo $_SERVER['PHP_SELF'];

Expected result:
----------------
/joomla/index.php

Actual result:
--------------
/joomla/index.php/joomla/index.php


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45637&edit=1

Reply via email to