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:35

Nu wrote:
> "Sanders Kaufman" <bucky@kaufman.net> wrote in message
> news:cwhwh.2295$4H1.1365@newssvr17.news.prodigy.net...
>> 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. :)
>
> I can't find anything in the manual on this.

Check the page that discusses "require_once" and "include_once".
It's all there.

 

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

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