IRC Gateway
PHP Manual

ircg_join

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

ircg_join — Join a channel on a connected server

说明

bool ircg_join ( resource $connection , string $channel [, string $key ] )

Join the channel channel on the server connected to by connection .

参数

connection

A connection resource handle returned by ircg_pconnect().

channel

The channel name as #name.

key

An optional password for the room.

返回值

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


IRC Gateway
PHP Manual