#15690 [Com]: $PHP_SELF empty

From: Date: Tue, 29 Oct 2002 13:00:26 +0000
Subject: #15690 [Com]: $PHP_SELF empty
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-23632@lists.php.net to get a copy of this message
ID: 15690 Comment by: cosmicslug@yahoo.com Reported By: beat-x@gmx.net Status: No Feedback Bug Type: Scripting Engine problem Operating System: Windows 2000 PHP Version: 4.1.1 New Comment: Sorry to say 'me too' but hey! Me too! Setup - Win2K, no service packs. Basic PHP 4.2.3 installed. Register globals is "On". Tried latest versions of Xitami & Apache, but phpinfo() on both servers (suggesting its a workstation problem) shows $PHP_SELF and $_SERVER['PHP_SELF'] as empty. Previous Comments: ------------------------------------------------------------------------ [2002-10-25 16:51:10] dpatte@relativedata.com i have php 4.0.6 i am running windows ME i have xitami 2.4d9 i see the same thing - php_self is empty. register_globals is on, but note that HTTP_SERVER_VARS("PHP_SELF") is also empty! ------------------------------------------------------------------------ [2002-10-01 20:04:42] dagringo@gmx.net I just upgraded from php 4.0.something to 4.2.3 and experience your problem (which i never heard of before) I'm running NT5, apache 1.3 and php 4.2.3 the problems as said occured after the upgrade (the apache staid the same). ------------------------------------------------------------------------ [2002-09-29 10:38:18] wolfgang@umsu.de I'm experiencing the same problem since I updated to 4.2.3 (CGI version, Xitami, win98). register_globals is on. (When I turn it off, $PHP_SELF is not even listed in phpinfo(), when I turn it on, it is listed but empty.) thanks to cseiler@cyberspace.org for the workaround: It works. ------------------------------------------------------------------------ [2002-07-28 01:00:08] php-bugs@lists.php.net No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2002-06-27 20:30:10] sniper@php.net Do you have register_globals=On in your php.ini? ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/15690 -- Edit this bug report at http://bugs.php.net/?id=15690&edit=1

« previous php.bugs (#23632) next »