NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
eclipse plugin from xored


Joined: 19 Jul 2003
Posts: 1
Reply with quote
Hi,

my plugin shows at a breakpoint on:
$location = $_SERVER['DOCUMENT_ROOT'];

this variable an other instead of $_SERVER array:

$HTTP_SERVER_VARS = array("SERVER_PROTOCOL" => "HTTP/1.1","SERVER_PORT" => "80","PHP_SELF" => "arty/docs/news/index.php","REDIRECT_URL" => "docs/news/index.php","REDIRECT_STATUS" => "200","REMOTE_ADDR" => "127.0.0.1","REQUEST_METHOD" => "GET","PATH_TRANSLATED" => "/home/web/smarty/docs/news/index.php","SERVER_SOFTWARE" => "xored/WebStudio","argv" => array(),"PHPRC" => "/etc","GATEWAY_INTERFACE" => "CGI/1.1","SERVER_NAME" => "localhost","HTTP_COOKIE" => "DBGSESSID=4bb369@clienthost:7869","REMOTE_HOST" => "localhost","argc" => 0,"REDIRECT_QUERY_STRING" => "null")

I'm runing version 4.3.1 of suse linux 8.2. Because he didn't found the $_SERVER array, my next coding line will be terminated (include of a file).

It is a problem of DBG or of the DBG plugin of eclipse, that in the $_SEVER array shows only
$_SERVER = array("DBGSESSID" => "4bb369@clienthost:7869") in the variables window.


Thanks and bye

Kai

P.S. Sorry for my english.
View user's profileFind all posts by ksiSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7901
Reply with quote
Hi Kai,

No, DBG is not involved. It neither add new nor delete existing variables.
Make sure that PHP is 4.3.1 as you think it is.
View user's profileFind all posts by dmitriSend private messageVisit poster's website
eclipse plugin from xored
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic