[Pmwiki-users] include_once vs. require_once

Patrick R. Michaud pmichaud
Sat Nov 20 17:21:42 CST 2004


On Sun, Nov 21, 2004 at 12:01:40AM +0100, Knut Alboldt wrote:
> just a simple question to the php-guru's:
> 
> why to use / recommend include / include_once instead of require / 
> require_once when to include cookbook-pages / config-pages ?

Require is just as good as include; I went with include because it's
mnemonically easier for people new to PHP to understand what's happening.

Pm



More information about the pmwiki-users mailing list