PHP Classes
elePHPant
Icontem

File: test.manpagelookup.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Andrew Collington  >  Man Page Lookup  >  test.manpagelookup.php  >  Download  
File: test.manpagelookup.php
Role: Example script
Content type: text/plain
Description: A test file for the man page lookup class
Class: Man Page Lookup
Author: By
Last change: Update to use the new function names.
Date: 11 years ago
Size: 1,557 bytes
 

Contents

Class file image Download
<html>
<head>
    <title>Man Page Lookup</title>
    <style type="text/css">
    <!-- //
        a
        {
            font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
            font-size : 11px;
            text-decoration: none;
        }
        a:hover
        {
            text-decoration: underline;
        }
        A:link { text-decoration: none; COLOR: #054281; }
        A:visited { text-decoration: none; COLOR: #054281; }
        A:active { text-decoration: none; COLOR: #054281; }
        P { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        TD { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        TR { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        UL { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        LI { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        FORM { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        INPUT { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;}
        SELECT { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;}
        OPTION { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif; }
        TEXTAREA { FONT-SIZE: 10px; FONT-FAMILY: Verdana,Arial,Helvetica,sans-serif;}
    // -->
    </style>
</head>
<body>

<?php

   
require('class.manpagelookup.php');
   
$mp = new ManPageLookUp();
   
$mp->useTimer(true);
   
$mp->useCaching(true);
   
$mp->setCacheDir(dirname(__FILE__) . '/cache/');
   
$mp->displayManPage();
   
$mp->displayVersion();

?>

</body>
</html>