PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Raffaele Ricatto  >  PHP diff tool  >  example.php  >  Download  
File: example.php
Role: Example script
Content type: text/plain
Description: php file
Class: PHP diff tool
Compare two files and show differences in Web page
Author: By
Last change:
Date: 9 years ago
Size: 671 bytes


Class file image Download

= "example.php";


$res = '';

$res .= "
        <!DOCTYPE html>
            <meta charset=\"utf-8\">
            <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">
             <link href=\"style.css\" rel=\"stylesheet\" type=\"text/css\" />
            <script src=\"//\" ></script>
            <title>Diff Tool</title>

$tool = new diffTool;
$res .= $tool->renderDiffTool("file1.txt","file2.txt");

$res .= "</body>";


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