Posted by Puzzled on 10/18/05 19:54
This is a weird problem, but perhaps someone else has seen it before
(I hope!)
If I use a fully qualified include call
include ( 'http://localhost/subtree/filename.php')
I get an 'undefined function' error when calling a routine that's
defined in that file.
(I know the file is being included and the parser is at least seeing
the definition because I put disclosure echos before and after the
definition, and the echos work.)
But the error goes away and the function executes if I use a relative
reference
include ('subtree/filename.php')
even though subtree is *not* declared in the include_path config var
in php.ini.
Thanks in advance for any ideas. I'm stumped!
-Puzzled in Rainy Massachusetts
Navigation:
[Reply to this message]
|