Re: htdig: Searching not working?


Colin Viebrock (cmv@privateworld.com)
Fri, 19 Jun 1998 12:43:08 -0400


Also sprach MSQL_User (at 07:25 PM 6/18/98 +0200) ...
>Why is your ACTION empty?? Shouldn't it be something like
>ACTION="/cgi-bin/htsearch" ?

Nope. I use PHP3 (http://www.php.net, and lots of mirror sites close to you).

What happens is the form reloads the same page, but with the "search" field
set. PHP can determine if this is set, then it calls the htsearch script,
and parses the results into a pretty looking format.

Anyone who's interested in the PHP source can visit:

        http://www.summerworks.on.ca/search/source.phps

and look at the relevant files:

        http://www.summerworks.on.ca/search/results-header.html
        http://www.summerworks.on.ca/search/results-nomatch.html
        http://www.summerworks.on.ca/search/results-template.html

Hope this convinces some people of the power of PHP+htdig!

.........................................................................
Colin Viebrock Creative Director - Private World Communciations
cmv@privateworld.com 331 - 67 Mowat Avenue
http://www.privateworld.com Toronto, Ontario, CANADA, M6K 3E3
ICQ: 11386088

                                     There is one error in this sentence.

----------------------------------------------------------------------
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:26:35 PST