<?
include ($DOCUMENT_ROOT . "/footer-nomenu.inc");
?>

> -----Original Message-----
> From: David VanHorn [mailto:[EMAIL PROTECTED]]
> Sent: Monday, February 05, 2001 1:04 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> 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
> 
> 
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to