You are here: Re: [PHP] Language check « PHP « IT news, forums, messages
Re: [PHP] Language check

Posted by Jochem Maas on 11/28/05 16:46

Khorosh Irani wrote:
> Hello
> I want to sure that all the character of a posted string is in my
> language(persian for example).What should I do?

a few alternatives:

1. read through each posted string manually.
2. hire a persian monkey to do that for you. (monkeys are cheaper ;-)
3. google around for a persian spellchecker and use that - if you
can find one then the chances are you'll have to use it via an exec() call or
something similar.
4. or use the pspell php extension ... I have no idea of persian
dictionaries are available:

http://php.net/manual/en/ref.pspell.php

you are in luck, aspell does support Persian (fa):

http://aspell.sourceforge.net/man-html/Supported.html


> Thanks
>

 

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

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