note 69835 added to ref.pspell

From: Date: Fri, 22 Sep 2006 14:50:46 +0000
Subject: note 69835 added to ref.pspell
Groups: php.notes 
Request: Send a blank email to php-notes+get-117431@lists.php.net to get a copy of this message
If you get the error message : Warning: pspell_new_config() [function.pspell-new-config]: PSPELL couldn't open the dictionary. reason: No word lists can be found for the language "en". in test_pspell.php on line 4 Do the following to initialize the dictionnary: <?php $pspell_config = @pspell_new("en"); $pspell_config = pspell_config_create("en"); $pspell_link = pspell_new_config($pspell_config); ?> Note: Don't forget the @ to suppress the false warning. Hope this helps. ---- Server IP: 194.246.101.61 Probable Submitter: 83.145.80.157 (proxied: 1.1 SRV-ISA2K4) ---- Manual Page -- http://www.php.net/manual/en/ref.pspell.php Edit -- https://master.php.net/note/edit/69835 Del: integrated -- https://master.php.net/note/delete/69835/integrated Del: useless -- https://master.php.net/note/delete/69835/useless Del: bad code -- https://master.php.net/note/delete/69835/bad+code Del: spam -- https://master.php.net/note/delete/69835/spam Del: non-english -- https://master.php.net/note/delete/69835/non-english Del: in docs -- https://master.php.net/note/delete/69835/in+docs Del: other reasons-- https://master.php.net/note/delete/69835 Reject -- https://master.php.net/note/reject/69835 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#117431) next »