Posted by David Groom on 06/15/05 01:48
I'm getting confused about what exactly $_SERVER['DOCUMENT_ROOT'] is
supposed to show.
I have a site on a shared server, running PHP Version 4.3.10. But I was
getting a few uexpected errors
I ran script with phpinfo() to see what the results were and got the
following results under PHP variables:
_SERVER["DOCUMENT_ROOT"] : /home
_SERVER["PATH_TRANSLATED"] :
/domains/h/e/myservername.com/public_html/phpinfo.php
why isn't there any relationship between the document root and the path
translated?
Navigation:
[Reply to this message]
|