#********************************************************* # Script for getting bug reports #********************************************************* # define the bug file $bugs = "../htdocs/bugs.shtml"; #Call in the CGI library. require "cgi-lib.pl"; if (&MethGet) { # under GET return form. &ReturnForm; } else { # Under POST, process the report. &WriteReport } #********************************************************* # ReturnForm Subroutine #********************************************************* sub ReturnForm { print "Content-type: text/html\r\n\r\n"; print "
\n"; print "