|
From: | Chris Young |
Subject: | RE: [Aspell-user] PHP Windows CGI error |
Date: | Fri, 16 Apr 2004 09:58:16 -0400 |
I have
also recently had problems accessing Aspell through PHP's functions. I think
they were written for a much earlier version of pspell and are very
limited.
I did
get them to work on Linux using Aspell version .33, but I could not access a
custom dictionary I set up so I gave up and used shell_exec to run Aspell from a
command line pipe.
I
would suggest not using the PHP function and just run a shell command. That PHP
library needs to be updated and I believe someone is working on it. You have to
do a little more work to parse the input you get back from running a shell
command but once you set it up, the benefit of getting access to all of
Aspell's features is worth it.
Here
is a link to an example of how to do it: http://chxo.com/scripts/spellcheck.php
Click
the View Source link to see the code.
Chris Young
Synergy Point Toll Free: (877) 859-6370
Local: (828) 859-2444
Fax: (877) 633-5373
|
[Prev in Thread] | Current Thread | [Next in Thread] |