PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Reza Salehi   Spell Checker   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: script to use the class
Class: Spell Checker
Text spell checking based only in PHP code
Author: By
Last change:
Date: 19 years ago
Size: 906 bytes


Class file image Download
include("dictionary_class.php"); // this is the main class and must be included to the main body.
<title>Online dictionary! Written by Reza Salehi</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

=new dataReader(); // creating a new instance of the class dataReader. this class gets the inputed context and
                                // uses the class LookupTable to find misspled words.
$dr->reader($str, $sug, $stat);
<a href="index.htm"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Back</strong></font></a>