quote:
Originally posted by Veggie
use your head, get all the files in the dir then loop through them:
PHP 5
http://uk.php.net/manual/en/function.scandir.php
pfft directory iterators \o/
code:
foreach($dir = new DirectoryIterator("./includes") as $file){
if($dir->isFile() && strrchr($file, ".") == ".php")include($dir->getPathname());
}