Re: Re: Include wierdness.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Jason Barnett" <jason.barnett@xxxxxxxxxxxxx> wrote in message 
news:20050304163449.92008.qmail@xxxxxxxxxxxxxxxx
>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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux