PHP 手冊
前一頁 |  | 下一頁

# CIII. Pspell Functions

# 介紹

These functions allow you to check the spelling of a word and offer suggestions.

# 需求

To compile PHP with pspell support, you need the aspell library, available from http://aspell.sourceforge.net/.

# 安裝

If you have the libraries needed add the --with-pspell[=dir] option when compiling PHP.

> Note to Win32 Users: win32 support is available only in PHP 4.3.3 and later versions. Also, you must have aspell 0.50 or newer installed. In order to enable this module under Windows, you must copy `aspell-15.dll` from the `bin` folder of your aspell installation to a folder where PHP will be able to find it. `C:\PHP` or the SYSTEM32 folder of your windows machine (Ex: `C:\WINNT\SYSTEM32` or `C:\WINDOWS\SYSTEM32`) are good choices.

# 執行時期組態

`php.ini`中沒有定義此延伸的組態指令。

# 資源類型

這個延伸沒有定義任何資源。

# 預先定義常數

以下的常數由此延伸定義，只在這個延伸被編譯成PHP或實行時期被動態載入時有效。

`PSPELL_FAST` (integer)

`PSPELL_NORMAL` (integer)

`PSPELL_BAD_SPELLERS` (integer)

`PSPELL_RUN_TOGETHER` (integer)

前一頁 | 內容 | 下一頁
printer_write | 上一層 | pspell_add_to_personal