Syntax HighlightingThis is a syntax-colourer for HTML and PHP, written in PHP.
It dynamically produces coloured, styled HTML output from plain HTML/PHP source code on the server.
Colour categoriesThere are 25 configurable colour categories:
ResourcesThe script will highlight HTML from arbirary URLs.
However it will only highlight PHP scripts from beneath its parent directory. This limitation has been imposed for security reasons - it is important not to let visitors access arbitrary text files from your server.
Test URL (offline).
To doA great many things still need doing.
If you find bugs, please report them. If you know PHP, feel free to muck in.
Source codeThe program renders its own source code.
LicenseThis program and its source code have been placed in the public domain.