[Sussex] PHP Question: How to include all files in a directory

Steve Dobson steve at dobson.org
Sun Feb 13 13:05:18 UTC 2005


Hi PHP Guru

I am developing a little PHP system and I want to make it easy
for users/SysAdmins to add their own functions PHP extension routes.

Is there any way of "require_once('lib/functions/*.php');" so that
all the user has to do is install his functions in the lib/functions
dir and the system will automatically pick them up.

Ta
Steve





More information about the Sussex mailing list