Entry
How do I get the Windows NT $DOCUMENT_ROOT? The variable is blank.
Aug 29th, 2008 04:28
marine Jone, dman, Articles Way, Ayse Geertsma, Jay Jimenez,
Well, for starters, try to enter a value for doc_root in
your "php.ini". If you didn't, the variable isn't empty, it just
doesn't exist. If this doesn't solve it, try to use $HTTP_SERVER_VARS
['DOCUMENT_ROOT'] or, from PHP 4.1.0 $_SERVER['DOCUMENT_ROOT']. You
should use the array-method anyway because this is preferred and it
will make upgrading PHP later a lot less complicated.
===
thescripts.com/forum/thread9937.html
http://viajesmaldivas.miblogguia.com