|
Posted by laredotornado@zipmail.com on 12/16/01 11:57
Hi,
Here's my files and directories ...
util_fns.inc
hello.php
mirror_site/util_fns.inc
mirror_site/hello.php
On hello.php, I have the line
require("util_fns.inc");
However, I would like the behavior to be that the included file is the
one that lives at the same level as "hello.php". I'm noticing that the
"mirror_site/hello.php" file is including the "util_fns.inc" top level
file when I want it to include the "mirror_site/util_fns.inc" file.
How can I enforce this behavior?
I would prefer not to create two separate hello.php files.
Thanks for any assistance. Using PHP 4.3 if that is useful, - Dave
Navigation:
[Reply to this message]
|