Skip to main content.
home | support | download

Back to List Archive

CGI Script Question

From: John Wentworth <john(at)not-real.sysful.com>
Date: Fri Jul 16 2004 - 20:25:59 GMT
I added your script where you suggested
and it is printing whenever the search fails but it's not printing the =
search term instead it prints this
no matches for query: CGI=3DHASH(0x92ae86c)
if you can tell me how to get the query terms instead of the CGI=3DHASH =
stuff I think I'll be set
thank you for your help

jeez, it must be friday afternoon...

if you do a print to STDERR, it'll show up in your web log:


if ( $search->hits ) {
$search->set_navigation; # sets links
} else {

print STDERR "no matches for query: $search->{q}\n";

}

Peter Karman - Software Publications Engineer - Cray Inc
phone: 651-605-9009 - mailto:karman@cray.com




*********************************************************************
Due to deletion of content types excluded from this list by policy,
this multipart message was reduced to a single part, and from there
to a plain text message.
*********************************************************************
Received on Fri Jul 16 13:26:18 2004