Re: [PHP-INSTALL] superglobals

2004-10-14 Thread Hendrik Schmieder
Douglas Robson schrieb: Ausgezeichnet! Danke sehr. Sie lösten meine zweite Echoaussage Störung. Sie sind sehr nützlich gewesen. Jedoch arbeitet mein erstes Problem noch nicht. $result = getenv($_ENV['DOCUMENT_ROOT' ]); kann jeden möglichen Ausgang produzieren, wenn nicht ich versuche widerzuhall

Re: [PHP-INSTALL] superglobals

2004-10-13 Thread Hendrik Schmieder
Edward Dias schrieb: Hi, I was trying out this sample that Doug sent out and in trying I got this error in return Parse error: parse error, unexpected '"', expecting T_STRING or T_VARIABLE or T_NUM_STRING in C:\test\superglobals.php on line 4 Is there some configuration that I need to modify? Here

Re: [PHP-INSTALL] superglobals

2004-10-13 Thread Hendrik Schmieder
Douglas Robson schrieb: I'm a total noob, so be gentle and very explicit. I am trying to access certain superglobals like $_ENV['DOCUMENT_ROOT'] I tried the following and got nothing but, "You are running ." $PHP_SELF.\n"; ?> Thanks, phpneophyte Try $_SERVER["PHP_SELF"] instead of $PHP_SELF .

[PHP-INSTALL] superglobals

2004-10-13 Thread Douglas Robson
I'm a total noob, so be gentle and very explicit. I am trying to access certain superglobals like $_ENV['DOCUMENT_ROOT'] I tried the following and got nothing but, "You are running ." $PHP_SELF.\n"; ?> What do I need to look for in php.ini to make sure these global variables are enabled to be a