>>> My understanding is cgi scripts recieving data like the above
example
>>> via a GET or HEAD request are supposed to refer to the QUERY_STRING
>>> variable, which should be properly exported by sh-httpd.
>>
>>- or maybe this explains it?
>
> I does indeed, one can use QUERY_STRING instead of $1....
>
> I believe the easiest way (for the user) is to implement all the
variables
> in sh-hddpd so it will provide
> your parameters as
>
> ${SelDAY}
> ${SUNUP}
> ...
>
> this is quite easy to do in sh-httpd, I will start with it as soon as
I get
> the patched version for POST.If this is how apache, and other web servers work, I have no problem with making sh-httpd follow suit. I think, however, that the behavior you describe is not part of the normal CGI interface, so any scripts depending on the above functionality will only work on sh-httpd, and would not work on something like thttpd, apache, boa, &c... NOTE: Parsing of the QUERY_STRING for form data can be easily done by a few shell routines in a cgi.include file (or similar)...it doesn't have to be done by the web-server for convinence. Should we maybe troll the leaf-user list for someone with extensive web/cgi design experience? I don't have anything that indicates form data should be pre-processed by the web-server and provided as command line arguments, but I'm a cgi neophyte. Charles Steinkuehler http://lrp.steinkuehler.net http://c0wz.steinkuehler.net (lrp.c0wz.com mirror) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek No, I will not fix your computer. http://thinkgeek.com/sf _______________________________________________ Leaf-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/leaf-devel
