Web студия "GrandView"
  Главная   Написать Контакты
   
   
О проекте
Руководство php
 

ircg_fetch_error_msg

(PHP 4 >= 4.1.0, PHP 5 <= 5.0.4)

ircg_fetch_error_msg --  Returns the error from previous IRCG operation

Description

array ircg_fetch_error_msg ( resource connection )

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

<?php
if (!ircg_join ($id, "#php")) {
   
$error = ircg_fetch_error_msg($id);
    echo
"Can't join channel #php. Error code:
          $error[0] Description: $error[1]"
;
}
?>



add a note add a note User Contributed Notes
ircg_fetch_error_msg
There are no user contributed notes for this page.

ircg_get_username> <ircg_eval_ecmascript_params
Last updated: Sat, 27 Jan 2007
 
 
Новости
11 июля 2007
Сайт запущен
© 2007 info@grandviewstudio.com

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 324

Deprecated: Function set_magic_quotes_runtime() is deprecated in /home/sites/grandviewstudiocom/www/65f67d67a94ad980786580ae69e11c07/sape.php on line 330
Z058440144362 Z348613067571