You are here: Re: [PHP] Re: Include wierdness. « PHP « IT news, forums, messages
Re: [PHP] Re: Include wierdness.

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация