Subject: [htdig] Problem with integrating php and htdig
From: Nick Seacroft (firstname.lastname@example.org)
Date: Mon Oct 16 2000 - 07:00:05 PDT
A search engine is installed and working. The search needs to be run
from php. php4 is installed and working on the server. A blank page is
displayed instead of search results. Below is the code in results.php. Is
there something missing? Do we need a $format entry? Is the exec line
$HTSEARCH_PROG = "/home/httpd/INSuk/search/htdig.sh";
$words = EscapeShellCmd(UrlEncode($search));
$config = "insuk";
$query = "config=$config&format=$format&words=$words";
Thanks in advance!
IT Support Engineer
DDI: 0118 9235367
Fax: 0118 9307382
Tel: +44 (0) 118 930 6060
Fax: +44 (0) 118 930 2142
Any opinions expressed in this email are those of the individual and not necessarily the Company. This email and any files transmitted with it, including replies and forwarded copies (which may contain alterations) subsequently transmitted from the Company, are confidential and solely for the use of the intended recipient. It may contain material protected by attorney-client privilege. If you are not the intended recipient or the person responsible for delivering to the intended recipient, be advised that you have received this email in error and that any use is strictly prohibited.
If you have received this email in error please notify the IT manager by telephone on +44 (0)118 930 6060 or via email to email@example.com, including a copy of this message. Please then delete this email and destroy any copies of it.
To unsubscribe from the htdig mailing list, send a message to
You will receive a message to confirm this.
List archives: <http://www.htdig.org/mail/menu.html>
This archive was generated by hypermail 2b28 : Mon Oct 16 2000 - 07:05:51 PDT