Location: PHPKode > scripts > File Searcher > file-searcher/Usage.php
//path relative to this file location
//you can use absolute path either
require ("FileSearcher.php");

//create the class with doc and htm filter
$files= new FileSearcher("doc htm");

//search recursively on $path for doc and htm
$filelist=$files->GetFiles($path, true);

//$filelist is an unidimensional array containign the path to the files
something like
Return current item: File Searcher