You are here: Re: Also... Re: PHP includes question « PHP Programming Language « IT news, forums, messages
Re: Also... Re: PHP includes question

Posted by Sanders Kaufman on 02/01/07 07:28

Nu wrote:

> I have seen code like this:
> if ( file_exists( "$IP/languages/classes/$class.deps.php" ) ) {
> include_once("$IP/languages/classes/$class.deps.php");
> }
> It appears not to load the file unless an if statement passes.

Well, I could be wrong - it would be as easy as RTFM to verify. :)

But yeah - the file gets loaded no matter what.

 

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

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