[thelist] PHP includes not recognizing root

Ken Wan kenwan at telus.net
Sat Sep 6 03:47:15 CDT 2003


First, let me say I'm new to PHP. I'm finding that when I use a PHP 
include, to get to the root directory, I have to use "../etc". If I'm 
multiple levels into the site, this would mean I have to go "../../../etc". 
Using a <base href=...> didn't help.

Why won't it allow me to just use "/etc" to return to the root and what do 
I need to do to fix it?

Thanks
Ken


More information about the thelist mailing list