#!/bin/ch /* Copyright (c) 2001 by SoftIntegration, Inc. All Rights Reserved */ #include #include int main() { class CResponse Response; class CRequest Request; chchar *value, *name; Response.begin(); Response.title("The Result of Test of Request.getServerVariable"); printf("

The Result of Test of Request.getServerVariable


\n"); name = Request.getForm("serverVariable"); printf("The name of Server Variable is : "); if (name != NULL) { printf("%s
\n", name); printf("The value of Server Variable is : "); value = Request.getServerVariable(name); if (value !=NULL) printf("%s
\n", value); else printf("NULL
\n"); } else printf("NULL

\n"); Response.end(); }