in reply to "Canned" CGI scripts

Well, I've found merlyn's magazine archive helpful. Consider, for example, his March 2001 WT article. If it's not precisely what you want, it should give you some good ideas to work from. Also, his June and July 2001 Linux Magazine articles may be of interest, though only the code for those is online at the moment.

You'll need to do some tweaking, I'm sure, but at least you'll be able to trust the source.

Use care, though, in redistributing (or republishing) the stuff you download and borrow. Cite your sources, investigate licensing requirements, and put in original work to make the course you're own.

--f