Perl would do it. Learn Perl. Use the CGI module.