This is a PHP class which interfaces with the ht://Dig programs, allowing you to index and search Web pages from PHP. It is able to setup a suitable configuration file from a few user-defined parameters, index Web pages to build the search databases, and search the indexed database to capture the matches into a PHP data structure ready to be used to display the results in a PHP-generated page.