I've got kind of a deep page structure, lots of subdirs.
I'm having trouble with an include directive.
The problem is a footer that I use on all pages, which resides in the base
directory.
The footer file includes another file, which I use if there is no menu.
footer.inc has menu, and includes footer-nomenu.inc
footer-nomenu.inc may be used alone.
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.
--
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]