Re: Getting The Document Root
| From: | Jeremy Privett | Date: | Thu, 02 Feb 2006 15:59:32 +0000 |
| Subject: | Re: Getting The Document Root | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229736@lists.php.net to get a copy of this message | ||
John Nichel wrote:
$_SERVER['DOCUMENT_ROOT'] http://www.php.net/manual/en/reserved.variables.php#reserved.variables.serverNope. I've already tried that... $_SERVER['DOCUMENT_ROOT'] contains /home/jeremy/public_html/test/ ... All I want is to the public_html part. -- Jeremy Privett [ http://www.jeremyprivett.com ] Founder - Lead Software Developer - Hosting Systems Administrator Omega Vortex (http://www.omegavortex.com)