At 10:04 03.07.2002, you wrote:
>Hi,
>
>I may be missing something in this, so do CMIIW, but;
>...
>This is on the weblet that comes with bering 1.0rc2. It's GET, plain and
>simple, it works nicely, and the sort of string that is passed to my
>script by weblet in $QUERY_STRING is:
>
>SelDAY=1&SUNUP=0630&SUNRISE=30&SUNDOWN=2230&SUNSET=1&ONOFF=1
>
>Just to be sure, I went and checked the script that parses this, and it
>does indeed look for the '='s (and the '?'s) in order to break it up.
>
>....
>I just thought I should mention this, in case someone is about to go
>over sh-httpd, and passing multiple arguments in this fashion is a
>no-no...
>
> > 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.
regards
Erich
THINK
P�ntenstrasse 39
8143 Stallikon
mailto:[EMAIL PROTECTED]
PGP Fingerprint: BC9A 25BC 3954 3BC8 C024 8D8A B7D4 FF9D 05B8 0A16
-------------------------------------------------------
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