[thelist] PHP includes (how to call from subdir)

Aleem Bawany aleem.bawany at utoronto.ca
Sat Dec 7 02:46:00 CST 2002


Sorry, but I was doing something wrong. You can ignore that last post

PHP _does_ allow includes from parent dirs. I found the solution (not
the most elegant) is to determine how deep you currently are and then do
call the include file by having the appropriate number of ascending
thingomajigs (e.g. ../../../ for root/a/b/c/).

aleem





More information about the thelist mailing list