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.
|Tags||Internet Web Indexing/Search|
|Operating Systems||OS Independent|
Release Notes: The search page example was fixed to make it work even when PHP register_globals option is off. All example scripts were changed to use the same configuration script. A README file was added to explain some details about the steps for generating a suitable Ht:/Dig configuration file, crawling a site, and implementing a site search page.
Release Notes: This version adds a documented example of how to enable secure search. It is modified to avoid passing arguments explicitly by reference, and to remove use of the PHP short open tag.
Release Notes: This release has a secure search option to make it work with recent versions of htsearch that do not allow custom configurations to be used from the CGI interface. An option has been added to specify the path of the htsearch program, which may differ from that of the of htdig program. The htdig automatic version detection algorithm before indexing has been improved.
Release Notes: Initial freshmeat announcement.