| |
|
ircg_fetch_error_msgircg_fetch_error_msg (PHP 4 >= 4_1_0) ircg_fetch_error_msg __
Returns the error from previous IRCG operation
Descriptionarray ircg_fetch_error_msg ( resource connection)
ircg_fetch_error_msg() returns the error from
a failed connection_
Nota:
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_
Ejemplo 1_ ircg_fetch_error_msg() example <?php
if (!ircg_join ($id, "#php")) {
$error = ircg_fetch_error_msg($id);
print ("Can't join channel #php_ Error code:
$error[0] Description: $error[1]");
}
?> |
|
|
|
| |
|