PHPマニュアル/PEARマニュアル | ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot

SphinxClient::setServer - Set searchd host and port | JavaScript入門&応用&リファレンスなら「JavaScriptist」

  

SphinxClient::setServer

(PECL sphinx >= 0.1.0)

SphinxClient::setServerSet searchd host and port

説明

public bool SphinxClient::setServer ( string $server , int $port )

Sets searchd host name and TCP port. All subsequent requests will use the new host and port settings. Default host and port are 'localhost' and 3312, respectively.

パラメータ

server

IP or hostname.

port

Port number.

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。


忘却曲線を使ってこの知識を確実に記憶に残す

フォーラムで「SphinxClient::setServer - Set searchd host and port」について話す
各種マニュアル: PHPマニュアル | PEARマニュアル | Smarty(英語)マニュアル | PHP-GTKマニュアル | SphinxClient::setServer - Set searchd host and port」をGoogle検索
copyright © 1997-2024 PHP ドキュメント作成グループ(ライセンス). provided by php spot. マニュアル: