Skip to main content
Visitor II
August 12, 2010
Question

How Take string from web form to cgi-function?

  • August 12, 2010
  • 1 reply
  • 594 views
Posted on August 12, 2010 at 13:34

How Take string from web form to cgi-function?

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 17, 2011
    Posted on May 17, 2011 at 10:01

    In httpd.c by Adam Dunkels I found that:

    /* We use the uip_ test functions to deduce why we were called. If uip_connected() is non-zero, we were called because a remote host has connected to us. If uip_newdata() is non-zero, we were called because the remote host has sent us new data, and if uip_acked() is non-zero, the remote host has acknowledged the data we previously sent to it. */

    if(uip_connected()) {

    /* Since we have just been connected with the remote host, we reset the state for this connection. The ->count variable contains the amount of data that is yet to be sent to the remote host, and the ->state is set to HTTP_NOGET to signal that we haven't received any HTTP GET request for this connection yet. */

    hs->state = HTTP_NOGET;

    hs->count = 0;

    Where (In what variable) can I found string sending to server by method ''GET'' of WebForm?

    I need to get vaues of form's tags SELECT and INPUT type=checkbox.

    Thank you.