Is it possible for php to tell the path to the file (php path, not html) that is currently executing?
What I mean is, if I include() a file and in that included() file I call $SERVER["PATH_TRANSLATED"] I get the path to the file that the include() is called in, not the path of the included() file that calls $SERVER["PATH_TRANSLATED"].