Home

HTML/Tcl Templates

A Tcl template works by mixing Tcl code into normal HTML pages. The server uses the Tcl subst command to replace the Tcl code and variable references with their results and values. For example, the version of the Tcl server is:

3.4.2 September 3, 2002

This is obtained with [Httpd_Version] in the page.

The time this page was generated is:

Wed Sep 03 00:03:34 GMT Standard Time 2003

Templates with Form Data

If you want to process query data, it is available via the ncgi interface, and indirectly via the html interface used to create form elements.
HomeStatusHacks PageRegisterCGI TestsTemplatesAccess ControlReference Manual