> 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.
http://www.php.net/variables.predefined
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To
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,
2 matches
Mail list logo