Re: htdig: Wrapper script for htsearch


mark@pathology.utmem.edu
Tue, 29 Sep 1998 20:36:21 -0500


At 2:49 PM -0400 9/29/98, John Grohol PsyD wrote:
>named in the form, I need to define the file somehow as an
>environmental variable in the perl wrapper script?

You might try something like this php wrapper for the htdig:

-----------
$ cat /usr/local/htdig/bin/htphp.sh
#!/bin/sh

HTBINDIR=/usr/local/htdig/bin
QUERY_STRING="$@"
REQUEST_METHOD=GET
export QUERY_STRING REQUEST_METHOD
$HTBINDIR/htsearch
-----------

and call it with all required parameters.

                        -------- Mark Malecha
                        -------- mark@pathology.utmem.edu

----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
htdig-request@sdsu.edu containing the single word "unsubscribe" in
the body of the message.



This archive was generated by hypermail 2.0b3 on Sat Jan 02 1999 - 16:27:53 PST