You are here: aspell question - throwing error « PHP Programming Language « IT news, forums, messages
aspell question - throwing error

Posted by Notgiven on 05/05/06 19:22

I have installed aspell on windows and tested it using a simple test script.
It does call and work properly.

I want to use a spell checker called "spellcheck" that needs aspell. The
script throws the following error when it tries to run:
"Error executing 'aspell -a --lang=en_US --encoding-utf-8 < ./aspCO.tmp
2>&1'
'aspell' is not recognized as an external or internal command, operable
program or batch file

each time you run it, the "aspCO.tmp" cheanges to "aspyT1.tmp", "aspK5.tmp"
or something after the "asp"

On the php test code page, I have:

$spellercss = 'spellerStyle.css';
$word_win_src = 'wordWindow.js';
$textinputs = $_POST['textinputs']; # array
$aspell_prog = 'aspell';
$lang = 'en_US';
$aspell_opts = "-a --lang=$lang --encoding=utf-8";
$tempfiledir = "./";
$input_separator = "A";

I have no temp file set up and wonder if that's the cause - see the
"$tempfiledir variable" above. With little experience with setting up temp
files, can you help me understand where I am going wrong?

Thanks for any help!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация