iTP Secure WebServer System Administrators Guide (Version 7.5+)
Table 23 Sample Pathway CGI Program (continued)
if (Test_Count){
CGI_printf("<h2>Printing %d test lines.</h2>",Test_Count);
for (i=1;i<=Test_Count;i++){
CGI_printf("Test Line %d
....|...10....|...20....|...30....|...40....|...50<BR>",i);
}
}
/* CASE=DEFAULT FALL THROUGH */
} else {
CGI_printf("Unrecognized method '%s'.\n", getenv("REQUEST_METHOD"));
}
return 0;
}
164 Using Common Gateway Interface (CGI) Programs










