htdig.org indicates that you need to use a wrapper with PHP but I've been 
quite successful using htdig without a wrapper by calling the program 
directly from PHP (exec("/usr/local/htdig/bin/htsearch $QUERY_STRING", 
$results, $exit_code);) and then parsing the results displaying them as 
desired. In fact, I'm just starting to develop an htdig class to simplify 
the display of results. I'd be more than willing to share the code once I've 
got something worth sharing. Anyone care to help?

On another note, when I run rundig from PHP it appears to index the site but 
at the very end it outputs the following line (using rundig -v): htpurge: 
Database is empty!

Is this a problem?

Ted Stresen-Reuter
(developing a new version of susansexton.com)

_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp.


_______________________________________________________________

Sponsored by:
Looking for hip toys and fun scwag.  There is no better place
then the good friends at ThinkGeek. http://www.ThinkGeek.com/
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to