note 51821 added to function.aspell-new
| From: | cg dot sri at rediffmail dot com | Date: | Tue, 12 Apr 2005 09:36:26 +0000 |
| Subject: | note 51821 added to function.aspell-new | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87882@lists.php.net to get a copy of this message | ||
The use of aspell_new() function in PHP caused an error saying that:
Fatal error: Call to undefined function: aspell_new() in /var/www/html/srinivas/checkspell.php on
line 8
The Program code is:
<html>
<body>
<?php
// a string from another html document
$str = $_POST["string"];
$getlink = aspell_new("english");
if(aspell_check($getlink, $str))
{
echo "$str" . " " . "is a valid string" . "<br />";
}
else
{
echo "$str" . " " . "is not a valid string";
}
?>
</body>
</html>
----
Manual Page -- http://www.php.net/manual/en/function.aspell-new.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51821
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51821&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51821&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51821&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51821&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51821&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51821&report=yes
Search -- http://master.php.net/manage/user-notes.php