MDK-ARM Keil, MDK-ARM Datasheet - Page 87

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Getting Started: Building Applications with RL-ARM
In this case, the data held in the application_data variable will be converted to an
ASCII string. When the HTML page is loaded, the string will appear as the
content of the text box. This same approach can be applied to any other HTML
object such as radio buttons, check boxes, and pick lists.
Using the GET Method
The GET method works on the same principle as the POST method. When a
form is defined in the HTML script, we use the GET method in place of the
POST method as shown below.
<FORM ACTION="network.cgi" METHOD="GET" NAME="CGI">
Now when the form is submitted, the CGI_process_var() function will be
triggered in place of the POST method’s CGI_process_data() function. The
contents of the input cell are passed to the CGI_process_var() function and can
be handled in the same manner as the CGI_process_data() function.
void cgi_process_var (U8 *qs)
}
Exercise: Web Server Forms
This exercise demonstrates the code needed for each of the basic web form
objects including text box, radio button, check box and selection list.
U8 *var;
var = (U8 *) alloc_mem (40);
do
}
qs = http_get_var (qs, var, 40);
if (var [0] != 0)
………
}
while (qs);
free_mem ((OS_FRAME *) var);
{
if (str_scomp (var, "query=" ) == __TRUE)
}
form_query_string (var+6);
{
{
{
87

Related parts for MDK-ARM