Re: pspell on w32
| From: | php | Date: | Fri, 17 Dec 2004 19:54:18 +0000 |
| Subject: | Re: pspell on w32 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204619@lists.php.net to get a copy of this message | ||
Thank you for the comments. I've run my script command line and found the
following:
Unhandled Error: C:\Aspell\dict/en-only.rws: The file
"C:\Aspell\data/iso8859-1.
dat" is not in the proper format.
abnormal program termination
It looks like the directory aspell is looking for is being referenced with
the wrong type of slash? What do I do about that?
-Ethan Nelson,
Modulus, LLC
"Richard Lynch" <ceo@l-i-e.com> wrote in message
news:1521.66.99.91.45.1103303663.squirrel@www.l-i-e.com...
> php wrote:
>> A phpinfo() command shows that I have php4.3.10 with pspell enabled.
>> However, when I run the command pspell_check($pspell_link, "testt") in my
>> web scripts, the page appears to header redirect on itself indefinitely.
>
> Try to use wget or the MS-DOS equivalent to find out exactly what the
> web-server is sending out -- which is driving your browser crazy.
>
> Also try to run the script from an MS-DOS prompt:
> C:\php\bin\php.exe C:\full\path\to\your\script.php
>
> You'll have to get the paths right, of course, and may have to dink around
> with the Environment Variable setting of "path" in "My Computer" (I think
> that's where they hide it) so you can have all your DLLs and stuff in the
> $path variable.
>
> If all else fails, take a *COPY* of your script, and a *COPY* of php.exe
> and a *COPY* of all the DLLs you need, and toss them in a single directory
> and try to run it that way. In theory, Windows .exes look for DLLs in
> their own directory first.
>
> 'Course, Microsoft tends to break their own rules as fast as they make
> them, so no promise on that actually working. :-v
>
> --
> Like Music?
> http://l-i-e.com/artists.htm