<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >IRC Gateway Functions</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REL="HOME" TITLE="PHP 手册" HREF="index.html"><LINK REL="UP" TITLE="函数参考" HREF="funcref.html"><LINK REL="PREVIOUS" TITLE="ingres_rollback" HREF="function.ingres-rollback.html"><LINK REL="NEXT" TITLE="ircg_channel_mode" HREF="function.ircg-channel-mode.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=UTF-8"></HEAD ><BODY CLASS="reference" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="3" ALIGN="center" >PHP 手册</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ingres-rollback.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ircg-channel-mode.html" ACCESSKEY="N" >下一页</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="reference" ><A NAME="ref.ircg" ></A ><DIV CLASS="TITLEPAGE" ><H1 CLASS="title" >LXXI. IRC Gateway Functions</H1 ><DIV CLASS="PARTINTRO" ><A NAME="AEN102200" ></A ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="ircg.intro" >简介</A ></H1 ><P > With IRCG you can rapidly stream XML data to thousands of concurrently connected users. This can be used to build powerful, extensible interactive platforms such as online games and webchats. IRCG also features support for a non-streaming mode where a helper application reformats incoming data and supplies static file snippets in special formats such as cHTML (i-mode) or WML (WAP). These static files are then delivered by the high-performance web server. </P ><P > Up to v4, IRCG runs under these platforms: <P ></P ><UL ><LI ><P >AIX</P ></LI ><LI ><P >FreeBSD</P ></LI ><LI ><P >HP-UX</P ></LI ><LI ><P >Irix</P ></LI ><LI ><P >Linux</P ></LI ><LI ><P >Solaris</P ></LI ><LI ><P >Tru64</P ></LI ><LI ><P >Windows</P ></LI ></UL > </P ><DIV CLASS="note" ><BLOCKQUOTE CLASS="note" ><P ><B >注意: </B > 本扩展已被移动到 <A HREF="http://pecl.php.net" TARGET="_top" >PECL</A > 库中且自以下版本起不再被绑定到 PHP 中:5.1.0. </P ></BLOCKQUOTE ></DIV ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="ircg.install" >安装</A ></H1 ><P > Detailed installation instructions can be found at <A HREF="http://www.schumann.cx/ircg/" TARGET="_top" >http://www.schumann.cx/ircg/</A >. We urge you to use the provided installation script. </P ><P > It is not recommended, but you can try enable IRCG support yourself. Provide the path to the ircg-config script, <CODE CLASS="option" >--with-ircg-config=path/to/irc-config</CODE > and in addition add <CODE CLASS="option" >--with-ircg</CODE > to your configure line. </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="ircg.configuration" >运行时配置</A ></H1 ><P >本扩展模块在 <TT CLASS="filename" >php.ini</TT > 中未定义任何配置选项。</P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="ircg.resources" >资源类型</A ></H1 ><P > </P ></DIV ><DIV CLASS="section" ><H1 CLASS="section" ><A NAME="ircg.constants" >预定义常量</A ></H1 ><P >本扩展模块未定义任何常量。</P ></DIV ></DIV ><DIV CLASS="TOC" ><DL ><DT ><B >目录</B ></DT ><DT ><A HREF="function.ircg-channel-mode.html" >ircg_channel_mode</A > -- Set channel mode flags for user </DT ><DT ><A HREF="function.ircg-disconnect.html" >ircg_disconnect</A > -- Close connection to server </DT ><DT ><A HREF="function.ircg-eval-ecmascript-params.html" >ircg_eval_ecmascript_params</A > -- Decodes a list of JS-encoded parameters</DT ><DT ><A HREF="function.ircg-fetch-error-msg.html" >ircg_fetch_error_msg</A > -- Returns the error from previous IRCG operation </DT ><DT ><A HREF="function.ircg-get-username.html" >ircg_get_username</A > -- Get username for connection </DT ><DT ><A HREF="function.ircg-html-encode.html" >ircg_html_encode</A > -- Encodes HTML preserving output </DT ><DT ><A HREF="function.ircg-ignore-add.html" >ircg_ignore_add</A > -- Add a user to your ignore list on a server </DT ><DT ><A HREF="function.ircg-ignore-del.html" >ircg_ignore_del</A > -- Remove a user from your ignore list on a server </DT ><DT ><A HREF="function.ircg-invite.html" >ircg_invite</A > -- Invites nickname to channel</DT ><DT ><A HREF="function.ircg-is-conn-alive.html" >ircg_is_conn_alive</A > -- Check connection status </DT ><DT ><A HREF="function.ircg-join.html" >ircg_join</A > -- Join a channel on a connected server </DT ><DT ><A HREF="function.ircg-kick.html" >ircg_kick</A > -- Kick a user out of a channel on server </DT ><DT ><A HREF="function.ircg-list.html" >ircg_list</A > -- List topic/user count of channel(s)</DT ><DT ><A HREF="function.ircg-lookup-format-messages.html" >ircg_lookup_format_messages</A > -- Check for the existence of a format message set </DT ><DT ><A HREF="function.ircg-lusers.html" >ircg_lusers</A > -- IRC network statistics</DT ><DT ><A HREF="function.ircg-msg.html" >ircg_msg</A > -- Send message to channel or user on server </DT ><DT ><A HREF="function.ircg-names.html" >ircg_names</A > -- Query visible usernames</DT ><DT ><A HREF="function.ircg-nick.html" >ircg_nick</A > -- Change nickname on server </DT ><DT ><A HREF="function.ircg-nickname-escape.html" >ircg_nickname_escape</A > -- Encode special characters in nickname to be IRC-compliant </DT ><DT ><A HREF="function.ircg-nickname-unescape.html" >ircg_nickname_unescape</A > -- Decodes encoded nickname </DT ><DT ><A HREF="function.ircg-notice.html" >ircg_notice</A > -- Send a notice to a user on server </DT ><DT ><A HREF="function.ircg-oper.html" >ircg_oper</A > -- Elevates privileges to IRC OPER</DT ><DT ><A HREF="function.ircg-part.html" >ircg_part</A > -- Leave a channel on server </DT ><DT ><A HREF="function.ircg-pconnect.html" >ircg_pconnect</A > -- Connect to an IRC server </DT ><DT ><A HREF="function.ircg-register-format-messages.html" >ircg_register_format_messages</A > -- Register a format message set </DT ><DT ><A HREF="function.ircg-set-current.html" >ircg_set_current</A > -- Set current connection for output </DT ><DT ><A HREF="function.ircg-set-file.html" >ircg_set_file</A > -- Set logfile for connection </DT ><DT ><A HREF="function.ircg-set-on-die.html" >ircg_set_on_die</A > -- Set action to be executed when connection dies </DT ><DT ><A HREF="function.ircg-topic.html" >ircg_topic</A > -- Set topic for channel on server </DT ><DT ><A HREF="function.ircg-who.html" >ircg_who</A > -- Queries server for WHO information</DT ><DT ><A HREF="function.ircg-whois.html" >ircg_whois</A > -- Query server for user information </DT ></DL ></DIV ></DIV ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="function.ingres-rollback.html" ACCESSKEY="P" >上一页</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >起始页</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ircg-channel-mode.html" ACCESSKEY="N" >下一页</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >ingres_rollback</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="funcref.html" ACCESSKEY="U" >上一级</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ircg_channel_mode</TD ></TR ></TABLE ></DIV ></BODY ></HTML >