note 51821 rejected from function.aspell-new by betz

From: Date: Tue, 12 Apr 2005 13:49:11 +0000
Subject: note 51821 rejected from function.aspell-new by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-87900@lists.php.net to get a copy of this message
Note Submitter: cg dot sri at rediffmail dot com ---- 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>

« previous php.notes (#87900) next »