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