(PHP 4 >= 4.1.0, PHP 5)
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
<?phpif (!ircg_join ($id, "#php")) { $error = ircg_fetch_error_msg($id); echo "Can't join channel #php. Error code: $error[0] Description: $error[1]";}?>
Hosting by: hurra.comGenerated: 2007-01-26 18:01:00