You are here: Re: including files recursive problems « PHP « IT news, forums, messages
Re: including files recursive problems

Posted by Thorsten Ottosen on 10/12/37 11:32

ZeldorBlat wrote:
> I don't think PHP searches your include path recursively. From
> foo.php, try this:
>
> include('../util/util.php');
>
> and see what happens. It sucks, I know.
>

It turned out that the recursive includes works, but my particular
problem was caused by including a file with the same name as the one I
included. Go figure why this doesn't work.

Anyway, Thanks for the feedback

-Thorsten

 

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

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