Don wrote:

How do I access $DOCUMENT_ROOT when register_gobals is set off?  I think
there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
find it in the documentation.

$_SERVER['DOCUMENT_ROOT']

HTH
Chris


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to