According to Liz:
> Hello,
> I'm trying to submit a search to 
> htdig 3.1.6 via a flash driven page,
> but it doesn't return any results. 
> 
> i have an input box in my flash movie with the variable name
> words and a submit button calling htsearch using post.
> 
> Can this be done or am i wasting my time?
> 
> Thanks in advance!

I'm not familiar with how Flash handles requests for CGI programs, but
htsearch does follow all the CGI standard, so I don't see any real barrier
there as long as Flash is following the same standard.  htsearch can take
its input parameters in using either the GET method or the POST method.

The only potential snag is that when using the POST method, the encoding
type for the query string must be application/x-www-form-urlencoded,
which is the same as used for the GET method, and the default for the
POST method in a standard HTML form.  If Flash is using a different
encoding type, e.g. multipart/form-data (which is used for file uploads)
then htsearch won't recognize it.

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


-------------------------------------------------------
In remembrance
www.osdn.com/911/
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to