Posted by Rob Adams on 03/04/05 18:53
"Jason Barnett" <jason.barnett@telesuite.com> wrote in message
news:20050304163449.92008.qmail@lists.php.net...
>My guess is the file *is* in the include path, but the current working
>directory when require_once() executes is not what the OP thinks it is...
I was hoping this was the case, but just checked it with:
echo `pwd`;
and it gave what I thought should be the correct directory. (The directory
where the initial php file is.)
I also checked my include path, and it does have a '.' at the end of it.
I'm using a host called iPowerWeb. Overall I've liked them a lot, but there
have been a few glitches like this that drive me nuts. One is a tendancy
for the server to rewrite configuration files to turn open_basedir on. I've
checked that though, and that hasn't happened in this case (yet.)
-- Rob
[Back to original message]
|