[htdig] htdig-3.1.4 -- Patched for PHP3?


Subject: [htdig] htdig-3.1.4 -- Patched for PHP3?
From: Jeff Hill (jhill@hronline.com)
Date: Sun Jan 02 2000 - 10:30:31 PST


From what I can see of htdig-3.1.4, it encorporates Torsten
Neuer's patch of htsearch.cc so that PHP3 can call htsearch
directly. Is that correct?

I've got the php wrapper working with Torsten's contributed
files, but without the patch. So I'm trying to get my PHP3
search page to call htsearch directly with the new version of
htdig. Does anyone have an example available? Right now I'm
using:

$HTSEARCH_PROG = "/usr/local/apache/htdocs/search/htdig.sh";
$words = EscapeShellCmd(UrlEncode($search));
$config = "hronline";
$format = "hro%2Dhro";
$query =
"restrict=$restrict&exclude=$exclude&config=$config&method=$method&sort=$sort&format=$format&words=$words&page=$page";
$command="$HTSEARCH_PROG \"$query\"";
exec($command,$result);

Thanks for any suggestions.

Jeff Hill

------------------------------------------------------------
------ HR On-Line: The Network for Workplace Issues ------
http://www.hronline.com - Ph:416-604-7251 - Fax:416-604-4708
------------------------------------------------------------

------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-unsubscribe@htdig.org
You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Sun Jan 02 2000 - 10:45:37 PST