Hello,
        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
correct?

<?php
$HTSEARCH_PROG = "/home/httpd/INSuk/search/htdig.sh";
$words = EscapeShellCmd(UrlEncode($search));
$config = "insuk";
$query = "config=$config&format=$format&words=$words";
$command="$HTSEARCH_PROG \"$query\"";
exec($command,$result);
?>

Thanks in advance!

Nick Seacroft

IT Support Engineer
DDI: 0118 9235367
Fax: 0118 9307382



Articon-Integralis
Theale House
Brunel Road
Theale, Reading
RG7 4AQ
United Kingdom

Tel:   +44 (0) 118 930 6060
Fax:  +44 (0) 118 930 2142

Internet:   www.articon-integralis.com


DISCLAIMER
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 PROTECTED], 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
[EMAIL PROTECTED]
You will receive a message to confirm this.
List archives:  <http://www.htdig.org/mail/menu.html>
FAQ:            <http://www.htdig.org/FAQ.html>

Reply via email to