File: index.php

Recommend this page to a friend!
  Classes of Karthikeyan  >  PHP Syntax Highlighter  >  index.php  >  Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Sample File
Class: PHP Syntax Highlighter
Highlight source code keywords with color
Author: By
Last change:
Date: 5 years ago
Size: 214 bytes
 

 

Contents

Class file image Download
<?php
include_once("highlighter.php");
$obj = new highlighter();
$fileContent = trim(file_get_contents("highlighter.php", true));
$fileContent = htmlentities($fileContent);
echo
$obj->applycolor($fileContent);
?>



For more information send a message to info at phpclasses dot org.