Results 1 to 3 of 3

Thread: Any php gurus out there?

Hybrid View

  1. #1

    Any php gurus out there?

    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.
    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";
    }
    ?>
    And I get this error:

    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

  2. #2
    Guest

    Re: Any php gurus out there?

    Try contacting David (phpgeek)

  3. #3
    Guest

    Re: Any php gurus out there?


    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
    it might be a permission problem. i'd check all the directory and file permissions for that pspell stuff

Similar Threads

  1. PHP Tutorial
    By Waka-Gashira in forum Windows - General Topics
    Replies: 8
    Last Post: 01-27-2005, 08:10 AM
  2. PHP on IIS Server
    By genesis in forum Windows - General Topics
    Replies: 8
    Last Post: 01-03-2005, 11:22 AM
  3. PHP not working in RH8
    By Pleiades in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-24-2003, 12:17 PM
  4. PHP takes ASP as Number 1 SSSL
    By coltrane in forum Linux - Software, Applications & Programming
    Replies: 0
    Last Post: 07-04-2002, 03:47 AM
  5. php gurus
    By linuxrookie in forum Linux - General Topics
    Replies: 1
    Last Post: 05-12-2002, 04:36 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •