According to Bernard T. Higonnet:
> I'm trying to get at the results of a search performed by htdig so I can
> massage the results.
> 
> I have changed search.html so that instead of going straight to htsearch
> it goes to search.php3.
> 
> search.php3 seems to get the parameters for the search OK (I can print
> them out individually) but when, within htsearch.php3, I execute
> exec("dirs/htsearch config=.......&words=lookig",$results);
> 
> I get the following error messages in ..Apache/error.log:
> enter value for format:
> enter value for words:
> 
> 
> So it seems I do get to the original hetsearch but it isn't getting the
> parameters (indeed it makes no difference what I provide as parameters)

If you're running 3.1.3, or earlier releases, htsearch won't accept
the query string as a command line argument - it must be passed as the
QUERY_STRING environment variable, with the REQUEST_METHOD environment
variable set to GET, as is done for CGI programs by convention.

In the 3.2 development version, htsearch will accept the query string
as a command line argument, for exactly this sort of application.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/~grdetil
Dept. Physiology, U. of Manitoba  Phone:  (204)789-3766
Winnipeg, MB  R3E 3J7  (Canada)   Fax:    (204)789-3930

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

Reply via email to