#!/usr/local/bin/perl
# echo.pl - simple reflector script for testing forms, place in cgi-bin
# 	  - written by: Lawrie.brown@adfa.oz.au - Dec 95

# need cgi-lib.pl for CGI routines: &ReadParse, &PrintHeader, 
require "cgi-lib.pl";

# now read key=value pairs from form into hash table %in
&ReadParse(*in);

# now construct html reply showing all variable values
print &PrintHeader;
print "<html><head>\n<title>Echo Form</title>\n";
print "</head><body>\n<h1>Echo Form</h1>\n";
print &PrintVariables(%in);
print "<hr>\n</body></html>\n";
exit(0);
