Re: Re: Include wierdness.

From: Date: Fri, 04 Mar 2005 16:53:05 +0000
Subject: Re: Re: Include wierdness.
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-209999@lists.php.net to get a copy of this message
"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

« previous php.general (#209999) next »