Code:
Code: Select all
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1" />
<title>PHPSpellCheck Example - Spelling "As You Type" </title>
</head>
<body>
<form id="form1" name="form1" action="">
<textarea name="spellfield" id="spellfield" cols="30" rows="5">spell checker works across all major browsers including IE.</textarea>
<?php
require "../include.php";
$mySpell = new SpellAsYouType();
$mySpell->InstallationPath = "../";
$mySpell->Fields = "ALL";
echo $mySpell->Activate();
?>
</form>
</body>
</html>