This is the first in a series of articles that describes how to write, install, and debug Common Gateway Interface CGI scripts in order to create your own custom web applications that run on a variety of web servers. Even with the arrival of more advanced network technologies such as the X-Internet, CGI still powers many of the interactive elements found on web sites. CGI scripts are frequently used to generate special purpose web output, process input forms, handle user feedback, search web sites and types of other databases, run web chat rooms, add guestbook services, score online exams, and much more. There many possible approaches to solving a particular CGI problem. CGI is totally independent of whatever scripting language you use. So, you get to choose!
How CGI Scripting Works
Writing a CGI script
Because of the powerful text handling capability of the Visual Basic programming language, many Web developers want to write CGI programs in Visual Basic. Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. NAME is the environment variable that you want to retrieve.
Writing CGI scripts in Tcl
This article describes how to create and process simple web input forms. No other special tools are required. They are not repeated here.
Nov 12, by Dave Jacoby. An HTTP response header must include the status and the content-type. CGI the interface makes this easy. But that is not the limit, by far. The first way to pass data is with the query string, the portion of a URI beginning with?