Re: [PHP] Acessing $DOCUMENT_ROOT
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 unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Acessing $DOCUMENT_ROOT
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