superglobals

From: Date: Wed, 13 Oct 2004 07:25:35 +0000
Subject: superglobals
Groups: php.install 
Request: Send a blank email to php-install+get-14504@lists.php.net to get a copy of this message
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 $result = getenv($_ENV['DOCUMENT_ROOT']); echo "$result"; echo "You are running <b>$PHP_SELF</b>.<br /><br />\n"; ?> What do I need to look for in php.ini to make sure these global variables are enabled to be accessible? What else might I be misunderstanding or doing wrong? Thanks, phpneophyte __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail

« previous php.install (#14504) next »