php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30339 $PHP_SELF is not set (empty)
Submitted: 2004-10-06 16:45 UTC Modified: 2004-10-06 17:02 UTC
From: sales at teksigns dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.3.9 OS: windows xp
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: sales at teksigns dot com
New email:
PHP Version: OS:

 

 [2004-10-06 16:45 UTC] sales at teksigns dot com
Description:
------------
$PHP_SELF is not getting set .

if i do :

echo "http://someurl/".$PHP_SELF;

i only get :

http://someurl/



Reproduce code:
---------------
echo "http://someurl/".$PHP_SELF;


Expected result:
----------------
http://someurl/somescript.php


Actual result:
--------------
http://someurl/

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-06 16:46 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 [2004-10-06 16:49 UTC] sales at teksigns dot com
i did not ask for support 


your php is broken .....

im going back to a older version until you fix it .....

all my scripts that was using $PHP_SELF is now broken 
with these new versions ....
 [2004-10-06 16:51 UTC] derick@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

No bug here.
 [2004-10-06 16:55 UTC] sales at teksigns dot com
i am having the same problem as this bug that was fixed in the past.

http://bugs.php.net/bug.php?id=4060


The exact same bug is back ......

if it was a bug that was fixed then its a bug now again ....


i dont get you
 [2004-10-06 17:02 UTC] derick@php.net
IT IS NOT A BUG, please contact the php-general@lists.php.net mailinglist. And stop re-opening this bug.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 20:01:36 2025 UTC