Tcl in your Page | |
08:36 AM Learn | Basic Setup | Templates | Server Security | Direct URLs | URL Domains
This page shows what you can do with a little bit of Tcl code in a page. Right below the <hr> horizontal line we'll display the result of the Example1 procedure:
Thu Nov 28 08:36:54 UTC 2024
The body of the Example1 procedure is shown here.
Hint if there is no procedure, tryreturn "<b>[clock format [clock seconds]]</b>"Understand that this code runs with all the powers of the web server application. If you want to halt the server, try this.
exitHa! tried it, huh? This page runs Example1 in a Safe-Tcl interpreter, although the TML template system normally runs the templates in the main interpreter of your application.
Home | Status | Learn | CGI Tests | Templates | Access Control | Reference Manual |