#!/usr/bin/tcl # CGI Scan 1.0 (c) 1999 Mixter # FEEL FREE TO HELP ME IMPROVE THIS STUFF! # SEND YOUR CODE TO i0wnu@xoommail.com if {(![info exists argv]) || $argv == ""} { puts "getCGI 1.0 by Mixter" puts "usage: getcgi " exit } set output stdout set a [open [lindex $argv 0] r] # wee skan all linez for FORM tag global n set n 0 ;# cgi script no. while {[eof $a]==0} { set line [string tolower [gets $a]] set pos1 [string first "