Trying to test htdig-3.2.0b1, I can successfully search from the command
line in an interactive format (type "htsearch" and respond to the
prompts), but I'm unable to issue a string to htsearch (as my php
wrapper does). Has something in the query format changed?
When I try from my php3 script, I get "htsearch detected an error.
Please report this to the webmaster of this site by sending an e-mail
to".
I've tried just doing a command lines like:
./htsearch
&config=myconfigfile&method=any&sort=score&format=hro%2dhro&words=apache
But this gives a 'no-match' page back.
I've enclosed a snippet of my php code below just in case it would be of
any help.
Thanks for any suggestions and thanks for 3.2.0b1 -- I really need the
additional capabilities.
Regards,
Jeff Hill
-------------------
$words = EscapeShellCmd(UrlEncode($search));
$config = "myconfigfile";
$format = "hro%2Dhro";
$query =
"restrict=$restrict&exclude=$exclude&config=$config&method=$method&sort=$sort&format=$format&words=$words&page=$page";
$command="/usr/local/apache/htdocs/search/cgi/htsearch \"$query\"";
exec($command,$result);
------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED]
You will receive a message to confirm this.