1. CGI.E Question
- Posted by cklester <cklester at yahoo.com> Aug 19, 2005
- 446 views
- Last edited Aug 20, 2005
I noticed in cgi.e, the REQUEST_METHOD doesn't get defined. I've got some code I've been using (below)... How do I modify it to work with cgi.e? Thanks!
if equal(upper(getenv("REQUEST_METHOD")),"POST") then -- submitted a comment void = getenv("CONTENT_LENGTH") if atom(void) then theBody &= "read_input - no CONTENT_LENGTH" end if junk = value(void) if junk[1] = GET_SUCCESS then void = junk[2] else theBody &= "read_input - bad CONTENT_LENGTH" end if
-=ck "Programming in a state of Euphoria." http://www.cklester.com/euphoria/
2. Re: CGI.E Question
- Posted by Greg Haberek <ghaberek at gmail.com> Aug 21, 2005
- 428 views
> I noticed in cgi.e, the REQUEST_METHOD doesn't get defined. I've got some= code I just added REQUEST_METHOD to CGI.E and sent it to the Archive. I guess I've adopted these two ophaned libraries. This was the first update to CGI.E since its release in 1999. :) http://www.rapideuphoria.com/uploads/cgi-libs.zip ~Greg