Is there a way in PHP to get the hostname and document root from the server?I\'d like to do this without storing them as variables in your php code.I am reluctant to use $_SERVER because I have heard