Joined: 19 Jul 2003 |
Posts: 1 |
|
|
|
Posted: Fri Jul 18, 2003 5:37 am |
|
|
|
|
|
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.
|