Common Gateway Interface

This is a demonstration of the power of the Sockets HTTPD CGI implementation. It  also demonstrates the Java Remote Console applet.
 

Examples

Please refer to Chapter 10 of the Sockets manual for complete information about programming CGI commands or Server Side Includes (SSI). 

This example calls an HTTPD extension CGI to calculate and display a page visited counter.
A simple page visited counter using the CGI API.

There are several methods available of using forms in an HTML environment. This example uses simple get and put commands. Please take a look at cgidemo.c for specific programming information on how this is working.
 Forms demo using the extension CGI API.

Server Side Includes: Using a static page to display variables from the Sockets server! SSI.EXE uses TEMPLATE.HTM to create the page SSI.HTM which is referenced by this link, demonstrating the display of some generic variables.
 SSI demo using the CGI API.

This is another example of using forms in an HTML environment.
 Simple echo demo using the CGI API.

This example shows how to upload files using HTTPD.
 File upload receiver demo using the CGI API.

Remote Console is a JAVA applet which displays the DOS screen of the server running HTTPD. Commands typed within the Remote Console are executed on the server machine. The server must have video memory for this applet to function. Browsers supported:
    Mozilla 1.0.1 or later
    IE4 or later (IE 5 recommended)
Remote console.
Remote console for Danish keyboard configuration.

Datalight Web Server