pspell compiled but can't get it to work

From: Date: Wed, 23 Apr 2003 14:22:28 +0000
Subject: pspell compiled but can't get it to work
Groups: php.general 
Request: Send a blank email to php-general+get-145238@lists.php.net to get a copy of this message
I've noticed that a phpinfo() now has pspell included in Mitel sme5.6 ('--with-pspell' ) (see www.e-smith.org) To me this means that its ready to go. But it doesn't seem to work: For example I've tried the pspell_suggest from the manuel: <head><title>Untitled</title></head><body> <?php $pspell_link = pspell_new ("en"); if (!pspell_check ($pspell_link, "testt")) { $suggestions = pspell_suggest ($pspell_link, "testt"); for ($i=0; $i < count ($suggestions); $i++) { echo "Possible spelling: " . $suggestions[$i] . "<br>"; } } ?> </body> and I get the following error: Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable word lists for the language-tag "english". in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 5 Warning: 0 is not an PSPELL result index in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 6 Warning: 0 is not an PSPELL result index in /home/e-smith/files/ibays/five-six/html/checkspell.php on line 7 Possible spelling: Could anyone help me with this problem as I have an app (LAMP) that clients want spell checking enabled thanks sam sam@duval.nsw.edu.au

« previous php.general (#145238) next »