Forum Moderators: coopster
I suppose you could loop through the directory and include them that way...
$d = dir("/path/to/my/includes");
while (false!== ($filename = $d->read())) {
if (substr($filename, -4) == '.inc') { // whatever your includes extensions are
// print them for now:
print "$filename\n";
// include them once you like what you see:
// include "$filename";
}
}
$d->close();
exit;