I was convinced that this was a trivial matter, until a web hosting client called me asking for help. Ignoring the idea that I am not obliged to give web dev support, I listened to his plight. Being a non programmer, the task of making a form handler was close to impossible. The rather expensive WYSIWYG program he had purchased did not supply him with a satisfactory solution.
I then decided to write these functions. form_handler() creates a list of all
form data submitted by any form. The output can then be emailed to a site's
system administrator, or saved to a file.
form_handler_generator() can assist you in the making of a more customized solution for any particular form. Just remember to check your checkboxes or they will not be noticed.
You can test both these functions here.