However whenever I try to use this notation I get errors saying the file can't be found. I suspect the problem may arise from the fact that I'm working from the url:
This file is including the a file which is in turn including another file. The middle file fails to find the third one with the notation outlined above. Is this a result of my url pointing to one directory and the relative paths playing off the url? Is there a way around this? Mostly this is important because these includes are supposed to be done before a configuration file is written -- I'd like to keep them independant of a configuration and have them just rely on file structure.
Thanks for any help, Buyo.
I just though I'd add that the middle file requires 2 files. The first one is of the form:
require_once 'somefile.php';This require works just fine and it grabs a file in the same directory as the middle file, but the second...
require_once '../someotherfile.php';fails to load the file.