You are here: Re: PHP4 -> PHP5: require does not check file directory anymore? « All PHP « IT news, forums, messages
Re: PHP4 -> PHP5: require does not check file directory anymore?

Posted by Markus Ernst on 02/15/06 19:53

Jari Jokinen schrieb:
> set_include_path(get_include_path() . PATH_SEPARATOR . '.');
>

Thank you, I tried this, but then it turned out to be something trivial:
there was an open_basedir restriction on the PEAR include path.

Though there was no including of a PEAR file at all, PHP seems to check
the include path directories and output an open_basedir error before
checking the directory the file resides in.

I am not quite sure about where this behaviour is set - anyway if this
is a new behaviour of PHP5 it should IMO be documented.

Markus

 

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

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