show source code with standard color highlight, and make link to open source code of the file that include or requere in those file. Security feature : only open files that in
base directory(set in config ). can not open forbidden file in base directory (set in config). chek input file with beginning with ../../../../../ .
Let me read your mind: - You want to add line numbers to highlighted source code. - You hate Output Buffering; you love speed. - You want to serve a valid XHTML code. - You
want a function to return the highlighted code, instead of printing it out. Let me present my solution: