Wapp

Artifact [d6e4b6a2a7]
Login

Artifact d6e4b6a2a74c038b0c76bf400d4b848c6f2d48fa3d293e759cadf44ce272ec27:


# This script is a template used for testing.
#
# After making modifications to this script to test out bits of HTML
# (or not - the script works fine as it is), invoke the script using
#
#   w3tclsh env.tcl
#
# All web pages show the W3 execution environment, which includes
# CGI-line environment variables, decoded query and POST parameters, and 
# decoded cookies.
#
package require w3
proc w3-default {} {
  w3-allow-xorigin-params
  w3-trim {
    <h1>W3 Environment</h1>
    <pre>%html([w3-debug-env])</pre>
  }
}
w3-start $argv