Re: include files

From: Date: Mon, 05 Feb 2001 18:45:24 +0000
Subject: Re: include files
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-38295@lists.php.net to get a copy of this message
On Monday 05 February 2001 18:15, David VanHorn wrote: > I know this works, in footer.inc, to pull up nomenu. > <? include("/home/dvh/public_html/footer-nomenu.inc")?> > > However, is there a more "generic" way to specify the server root as > the path? I'd rather not expose my directory structure in the PHP code. > I tried various versions of ../ and ../../ without success. Set the include_patz in php.ini and include everything relative to that path -- Christian Reiniger LGDC Webmaster (http://sunsite.dk/lgdc/) (A)bort (R)etry (P)retend this never happened ...

« previous php.general (#38295) next »