Weblog of Nazly Ahmed
GeSHi the Generic Syntax Highlighter is a cool piece of code that can highlight the syntax of most of the well known programming languages. Source Code higlighting is a much needed feature in websites that has forums and tutorials. Since I only want to highlight PHP code in my blog I use the built-in functions highlight_file() and highlight_string(). Whats good about GeSHi is that it can highlight the source code of a lot of languages which will be very useful for common forums which are not language specific.