超越PHP PHP动态 | 经典文章 | CLASS | 相关下载 | 常见问题 | FORUM | WIKI | 在线手册
Site search:    
<Aspellaspell_check>
Last updated: Fri, 22 Jun 2007

aspell_check_raw

(PHP 3>= 3.0.7, PHP 4 <= 4.2.3)

aspell_check_raw --  Check a word without changing its case or trying to trim it [deprecated]

Description

bool aspell_check_raw ( int dictionary_link, string word)

aspell_check_raw() checks the spelling of a word, without changing its case or trying to trim it in any way and returns TRUE if the spelling is correct, FALSE if not.

例子 1. aspell_check_raw()

<?php

$aspell_link
= aspell_new("english");

if (
aspell_check_raw($aspell_link, "test")) {
   echo
"This is a valid spelling";
} else {
   echo
"Sorry, wrong spelling";
}

?>




add a note add a note User Contributed Notes
aspell_check_raw
20-Dec-2002 02:34
This example doesn't work on windows 2000 profesional.and shows the error below .please help

$aspell_link = aspell_new("english");

if (aspell_check($aspell_link, "testt")) {
   echo "This is a valid spelling";
} else {
   echo "Sorry, wrong spelling";
}

Fatal error: Call to undefined function: aspell_new() in E:\Projects\fgp\phpAdmin.php on line 76

<Aspellaspell_check>
 Last updated: Fri, 22 Jun 2007
view source | feedback | send page | sitemap | aboutus   
Copyright ® 2002-2003 PHPE.NET. All rights reserved
Last updated:2002-11-22