PHP 忒聊
綴豖
ヶ輛
ircg_fetch_error_msg
(PHP 4 = 4.1.0)
Description
ircg_fetch_error_msg() returns the error from a failed connection.
蛁: Error code is stored in first array element, error text in second. The error code is equivalent to IRC reply codes as defined by RFC 2812.
瞰赽 1. ircg_fetch_error_msg() example
if (!ircg_join ($id, "#php")) {$error = ircg_fetch_error_msg($id); print ("Can't join channel #php. Error code: $error[0] Description: $error[1]");}
綴豖
れ萸
ヶ輛
ircg_disconnect
奻珨撰
ircg_get_username