Skip to main content
U.S. flag

An official website of the United States government

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

Writing CGI scripts in Tcl

Published

Author(s)

Don E. Libes

Abstract

CGI scripts enable dynamic generation of HTML pages. This paper describes how to write CGI scripts using Tcl. Many people use Tcl for this purpose already but in an ad hoc way and without realizing many of the more nonobvious benefits. This paper reviews these benefits and provides a framework and examples. Canonical solutions to HTML quoting problems are presented. This paper also discusses using Tcl for the generation of different formats from the same document. As an example, FAQ generation in both text and HTML are described.
Proceedings Title
Proceedings of the 4th Annual Tcl/tk Workshop '96
Conference Dates
July 10-14, 1996
Conference Location
Monterey, CA

Keywords

CGI, FAQ, generation, HTML, Tcl, World Wide Web

Citation

Libes, D. (1996), Writing CGI scripts in Tcl, Proceedings of the 4th Annual Tcl/tk Workshop '96, Monterey, CA, [online], https://tsapps.nist.gov/publication/get_pdf.cfm?pub_id=821285 (Accessed December 2, 2024)

Issues

If you have any questions about this publication or are having problems accessing it, please contact reflib@nist.gov.

Created July 1, 1996, Updated February 17, 2017