PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Eper Kalman   Keywords   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: example script
Class: Keywords
Retrieve and suggest keywords for Web pages
Author: By
Last change:
Date: 11 years ago
Size: 344 bytes
 

Contents

Class file image Download
<?php
        error_reporting
(E_ALL);

        include
'keywords.class.php';

       
$keywords = new KeyWords();

       
$keywords->file('example.html');

       
# $keywords->readMetaKeyWords();

        # $keywords->readHtmlKeyWords();

       
$keywords->readAll();

        echo
'Keywords found :</br></br>';

       
$i = 1;

        foreach(
$keywords->get() as $word) echo $i++.". $word<br>";
?>