IRC Gateway
PHP Manual

ircg_who

(PHP 4 >= 4.3.3, PHP 5 <= 5.0.5)

ircg_who — Queries server for WHO information

说明

bool ircg_who ( resource $connection , string $mask [, bool $ops_only ] )

ircg_who() will request a list of users whose nickname is matching the given mask .

The answer is sent to the output defined by ircg_set_file() or ircg_set_current().

参数

connection

A connection resource handle returned by ircg_pconnect().

mask

A mask for the nickname.

ops_only

The optional parameter ops_only will shrink the list to server operators only.

返回值

如果成功则返回 TRUE,失败则返回 FALSE

参见


IRC Gateway
PHP Manual