readme

来自「this gives details of the network progra」· 代码 · 共 28 行

TXT
28 行
字号
This directory holds an example of a simple form-handling CGI program.The form includes JavaScript code for validating the fields in the form.A JavaScript capable browser will run the Javascript code to make sure thatno submission is made until the user enters something in each field.Remember that not all browsers support JavaScript, so we have to do fieldvalidation in the CGI program anyway!!!The program displays student grades given a student's name and socialsecurity number. Files: request.html - a HTML form that can be used to submit queries to the            getgrades CGI program. This form includes some Javascript	    code to do field validation at the browser.handleform.c - The source code for the CGI program. THe program validates               requests (makes sure each field is entered) and then               generates some random grades and sends them back as HTML.cgilib.c - source code for some CGI support routines, including the	decoding of urlencoded requests.runfromshell - a schell script that sets up environment variables so	that the CGI program can be tested from the command line.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?