Re: [PHP] Quick Directory Question

2001-02-08 Thread James, Yz
You're missing something simple, I think. /* Use these variables in each of the pages you need them, or stick them in a config include */ $files_above_root = "/home/pages/www"; $files_below_root = "/home/pages"; /* reference includes similar to this method */ include("$files_above_root/somethin

[PHP] Quick Directory Question

2001-02-08 Thread Andy Clarke
I can use "$DOCUMENT_ROOT/includes/" to refer to my includes folder if it is at the top of my web directory. This works consistently no matter where about in the site I call it from. Is there a similar easy way to refer to a folder that is placed outside the web tree (above the web directory) for