If PHP works on the server side for you, there are a quite a few varieties of code highlighters at http://phpclasses.org There are also *nix software packages that can convert hundreds of languages' source code into LaTeX, HTML, Word Documents, PDFs, etc.--most of them even on-the-fly. --Thomas