Hi All, I have just installed some software that requires that the register_globals setting must be off in the PHP.INI file.
I use $DOCUMENT_ROOT in part of my web site. Is there a good alternative that I can use that doesn't require the register_globals setting?
Thanks in advance
$_SERVER['DOCUMENT_ROOT']
Thank you for your response.
That worked just fine; however, I have another problem now. How can I grab the results of my query string?
Is there another array that holds those values?
you should really do some reading on predefined variables
$_GET['variable']; did the trick. Thanks for the tip