[racket] bindings without request
The Web Server's request parsing and binding handling cannot be used
in CGI apps as far as I know.
Jay
On Thu, Nov 11, 2010 at 3:03 PM, scouic <scouic at gmail.com> wrote:
> Hi all,
> I've misunderstood the bindings from the webserver.
>
> I have a cgi program wich displays a webpage with an input field named
> number at 127.0.0.1/cgi-bin/input and wich calls (via a form)
> /cgi-bin/extract-input.
>
> For example, after sending, the url could be
> 127.0.0.1/cgi-bin/extract-input?number=42
>
> How can i extract in my cgi program extract-input the number 42 ?
>
> (This works perfectly when i launch a local program with a (start request)
> and when i use (extract-bindings request) or (cdr (assq 'number request)) ..
> but here, there is no request ... )
>
> Thanks alot,
> -mw
> _________________________________________________
> For list-related administrative tasks:
> http://lists.racket-lang.org/listinfo/users
>
--
Jay McCarthy <jay at cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay
"The glory of God is Intelligence" - D&C 93