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
                        -------- [EMAIL PROTECTED]


----------------------------------------------------------------------
To unsubscribe from the htdig mailing list, send a message to
[EMAIL PROTECTED] containing the single word "unsubscribe" in
the body of the message.

Reply via email to