in reply to CGI Design issues

Hi,
you can do all of this easily with perl/CGI. Working with many key=value pairs is usually handled by the param() method of CGI. Check the documentation there and the many examples you will find here regarding CGI (try Super Search).
Regards,
svenXY