嵌入式Linux系统CGI程序设计技术(2)
嵌入式Linux系统CGI程序设计技术get_input=getenv(“QUERY_STRING”); if(get_input){ get_input=strdup(get_input); printf("QUERY_STRING if %s",get_input); } /*判断flag=x信息*/ if(!strcmp(get_input,"flag=0") ...//Operate p0 else if(!strcmp(get_input,"flag=1") ...//Operate P1 else ...//Operate P2 对于上述三种方法,可以根据不同的应用场合和应用要求进行选取。 结语 嵌入式Web Server系统方案可以广泛应用在许多领域,如自动化设备的远程监控、嵌入式GSM短消息 平台以及远程家庭医疗等。并且,随着互联网应用领域的不断深入,嵌入式Internet技术将得到更为广泛的应用和发展。 |
