Ryan,
I looked back at your original post and then remembered that you said you
were using the recommendation from the "Official User's Guide". Elan, who
happens to know one of the people who wrote the book VERY WELL <grin> is
using a modified version. He has left out the "make object!" phrase. Sorry
that I forgot about that. If the problem isn't a "version thing," then
perhaps Elan can explain why the change. I've not yet read the book (but
plan to soon), so I can't look it up.
-Scott
----- Original Message -----
From: "Ryan C. Christiansen" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 30, 2001 5:09 PM
Subject: [REBOL] Re: works for GET, not POST
> This function doesn't work with GET on my system...
>
> > retrieve-user-data: func [] [
> > return decode-cgi
> > either system/options/cgi/request-method = "POST" [
> > data: make string! 2002
> > foreach line copy system/ports/input [
> > repend data [line newline]
> > ]
> > ][
> > either system/options/cgi/query-string [
> > system/options/cgi/query-string
> > ][
> > ""
> > ]
> > ]
> > ]
>
> My system is as follows:
>
> Apache/1.3.14 (Unix) mod_bwlimited/0.8 mod_log_bytes/0.2 PHP/4.0.4
mod_perl/1.24_01 mod_frontpage/3.0.4.3 mod_ssl/2.7.1 OpenSSL/0.9.5 on Linux
>
> The function I use works with GET, but not with POST
>
> retrieve-user-data: func [] [
> return make object! decode-cgi
> either system/options/cgi/request-method = "POST" [
> input
> ][
> system/options/cgi/query-string
> ]
> ]
>
> I'm not the sysadmin. Suggestions?
> --
> To unsubscribe from this list, please send an email to
> [EMAIL PROTECTED] with "unsubscribe" in the
> subject, without the quotes.
>
--
To unsubscribe from this list, please send an email to
[EMAIL PROTECTED] with "unsubscribe" in the
subject, without the quotes.