Code2HTML is a perl script that converts a program source code to syntax highlighted HTML. It may be called as a CGI script. It can also handle include commands in HTML files.
I think this is a very cool tool... needs some polishing... for example adding a <br> tag at the end of a line so some forums can actually display the code correctly.
The html code generated by this script is not valid HTML. It fails validation using the w3c markup validation service, largely as a result of using the deprecated font tag and not declaring a doctype or character encoding type.