Here are the scripts that go with HTML, XHTML, and CSS, Sixth Edition: Visual QuickStart Guide. They are very simple scripts designed to let you see how forms work.
Parsing Forms and printing out results for visitor (not particularly useful in the real world, but great for testing)