RE: [PHP] include files

From: Date: Mon, 05 Feb 2001 18:36:23 +0000
Subject: RE: [PHP] include files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-38290@lists.php.net to get a copy of this message
<? include ($DOCUMENT_ROOT . "/footer-nomenu.inc"); ?> > -----Original Message----- > From: David VanHorn [mailto:dvanhorn@cedar.net] > Sent: Monday, February 05, 2001 1:04 PM > To: brian@gfx.cncdsl.com; php-general@lists.php.net > Subject: RE: [PHP] include files > > > At 12:50 PM 2/5/01 -0500, Brian V Bonini wrote: > >DOCUMENT_ROOT ??? > >http://php.net/manual/en/language.variables.predefined.php > > Ok, but having read the docs you pointed to (thanks), I still > don't see how > to use it in an include directive. > > I assume that since the vhost is specified to use > "/home/dvh/public_html/" > as the server root, that DOCUMENT_ROOT is equal to > "/home/dvh/public_html/" > when the server is running any script from that vhost. > > But, how do I apply that to the include directive? > > <? include("/home/dvh/public_html/footer-nomenu.inc")?> > > -- > Where's dave? > http://www.findu.com/cgi-bin/find.cgi?kc6ete-9 > > >

« previous php.general (#38290) next »