I'm new to php and am having problems with pspell.
Let me give you the situation: I have compiled support for pspell. When I make a test script <? phpinfo() ?> if shows that pspell is enabled. So far so good, right?
Now I made a test pspell script using an example from PHP.
And I get this error:Code:<? $pspell_link = pspell_new ("en", "", "", "", (PSPELL_FAST|PSPELL_RUN_TOGETHER)); if (pspell_check ($pspell_link, "testt")) { echo "This is a valid spelling"; } else { echo "Sorry, wrong spelling"; } ?>
Warning: PSPELL couldn't open the dictionary. reason: I'm sorry I can't find any suitable word lists for the language-tag "en". in /usr/local/apache/htdocs/pspell.php on line 4
Do I need to install the english language dictionary? Or am I doing somethnig else wrong? I cannot figure it out.
help![]()


Reply With Quote
Bookmarks