Re: Is anyone else doing CGI on Mac OS X 10.5.7, Euphoria 4.x?
- Posted by ghaberek (admin) Jul 07, 2009
- 1183 views
Tuishimi said...
The code below is returning nothing. My request parsing code is not working either... even if I hard code the request method first.
Not sure what is going on, this was working on Windows with Euphoria 3.1.1. I admittedly did not try 4.x on Windows for this.
Don't forget your tags...
global constant GET_ = "GET" global constant POST_ = "POST" constant REQUEST_METHOD = "REQUEST_METHOD" constant QUERY_STRING = "QUERY_STRING" function get_request_method() -- Returns POST or GET. OR nothing at all. object method method = getenv(REQUEST_METHOD) if atom(method) then method = {} end if return method end function
Sorry I'm not much more help than that.
Which web server are you running?
-Greg