Hi
I am having a strange problem, and dont know the reason. I hope somebody could help me here.![]()
I have a very small php script to test pspell. The script works fine when run on the command line and gives me expected output. But when I try to run the script from URL I dont get any response for a long time then get error page "The page cannot be displayed". I am suspecting something is missing in the configuration to make webserver aware of pspell module. Any clue will be greatly appreciated. Thanks
Following is the script in question. The same script can be found at http://www.pakclassified.com/mt/pc_speller.php
Code:<?php $suggestions=null; $word = "tesst"; $pspell_config = pspell_config_create("en","american"); pspell_config_mode($pspell_config, PSPELL_FAST); $pspell_link = pspell_new_config($pspell_config); if (pspell_check ($pspell_link, $word)) { } else { $suggestions = pspell_suggest ($pspell_link, $word); } print_r( $suggestions); ?>


LinkBack URL
About LinkBacks




Reply With Quote

Bookmarks