Re: DOCUMENT_ROOT

From: Date: Wed, 25 Apr 2001 00:05:24 +0000
Subject: Re: DOCUMENT_ROOT
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-50212@lists.php.net to get a copy of this message
If you are using Apache virtual host, it will set virtual host's document root. Is this what you want? Regards, -- Yasuo Ohgaki "Jordan Elver" <jord.elver@virginnet.co.uk> wrote in message news:01042417535900.00987@localhost... > Hi, > Has any got any idea why $DOCUMENT_ROOT returns /usr/local/htdocs on my home > machine but it should return /usr/local/htdocs/sitename or where ever I put > it, but on my production machine it return what it should like > /usr/local/sitename or whatever? > > I'm trying to use it to help include files in different directories (see my > previous post, site structure). Got any ideas about this? > > Cheers, > > Jord > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#50212) next »