[Pmwiki-users] include_once vs. require_once

Knut Alboldt pmwiki
Sat Nov 20 16:00:59 CST 2004


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 ?

I'm always using require* because I want to get an error, when the included 
script is not found. I think it will help a lot finding errors (e.g. 
because a script wasn't aclled because of wrong filenames).

Knut 




More information about the pmwiki-users mailing list