Ch CGI Classes


Common Gateway Interface (CGI) is a standard that specifies how external programs interface with a web server. One of the most important applications of CGI is handling fill-out forms. A CGI program located on a host machine's web server can accept user's input through a fill-out form and generate web pages dynamically.

The following Ch CGI classes are included in header file cgi.h.

  • Member Functions of CResponse Class
  • Member Functions of CRequest Class
  • Member Functions of CServer Class
  • Member Functions of CCookie Class

    Two generic data types chchar and chstrarray are typedefed as follows.

    typedef char   chchar;
    typedef char** chstrarray;
    
    When the Unicode is used through header file wcgi.h, these two generic data types chchar and chstrarray are typedefed as follows.

    typedef wchar_t   chchar;
    typedef wchar_t** chstrarray;
    

    Note: Our CGI APIs can also be compiled with your C++ code. If you are interested in our C++ CGI libraries, please contact us at [email protected].