php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46836 $_SERVER['PHP_SELF'] path repeated
Submitted: 2008-12-11 14:12 UTC Modified: 2008-12-20 04:17 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:2 (100.0%)
From: editoria dot francisco at gmail dot com Assigned:
Status: Closed Package: CGI/CLI related
PHP Version: 5.2.8 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: editoria dot francisco at gmail dot com
New email:
PHP Version: OS:

 

 [2008-12-11 14:12 UTC] editoria dot francisco at gmail dot com
Description:
------------
$_SERVER['PHP_SELF'] path repeated.
Same bug related in:
http://bugs.php.net/bug.php?id=42699, PHP Version: 5.2CVS-2007-09-18
http://bugs.php.net/bug.php?id=42523, PHP Version: 5.2.4

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

Expected result:
----------------
/path/test.php


Actual result:
--------------
/path/test.php/path/test.php

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-12-16 18:23 UTC] jani@php.net
Are you sure you've updated PHP correctly? I can not reproduce this with clean install. Check in phpinfo() output that the version really is 5.2.8. Also, with what webserver software this happens with? See bug #45637 if you have Abyss..
 [2008-12-20 04:17 UTC] editoria dot francisco at gmail dot com
Thank You Jani.
My webserver it is Abyss Web Server.
This is an Abyss configuration parameter.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 22:01:33 2025 UTC