By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,188 Members | 832 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,188 IT Pros & Developers. It's quick & easy.

register_globals = Off and $DOCUMENT_ROOT

P: n/a
I need to access $DOCUMENT_ROOT
together with the option register_globals = Off

How can I acces the content of $DOCUMENT_ROOT with another
variable since it is empty with register_globals = Off ??

Which other variables are changed with this setting as well ?

Matthias
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
*** Matthias Pospiech wrote/escribió (Fri, 07 Jan 2005 10:18:11 +0100):
How can I acces the content of $DOCUMENT_ROOT with another
variable since it is empty with register_globals = Off ??
$_SERVER['DOCUMENT_ROOT']
Which other variables are changed with this setting as well ?


All variables except those defined by you in current script: form
variables, cookies, sessions...
--
-- Álvaro G. Vicario - Burgos, Spain
-- Thank you for not e-mailing me your questions
--
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.