> 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,
Hi,
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.
Thanks,
Don
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com
3 matches
Mail list logo