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]
|