Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 12173

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!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
>&#13;     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
>&#13;     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
>&#13;  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
>&#13;  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
>&#13;     

    </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
>&nbsp;--&nbsp;
     Set channel mode flags for user
    </DT
><DT
><A
HREF="function.ircg-disconnect.html"
>ircg_disconnect</A
>&nbsp;--&nbsp;
     Close connection to server
    </DT
><DT
><A
HREF="function.ircg-eval-ecmascript-params.html"
>ircg_eval_ecmascript_params</A
>&nbsp;--&nbsp;Decodes a list of JS-encoded parameters</DT
><DT
><A
HREF="function.ircg-fetch-error-msg.html"
>ircg_fetch_error_msg</A
>&nbsp;--&nbsp;
     Returns the error from previous IRCG operation
    </DT
><DT
><A
HREF="function.ircg-get-username.html"
>ircg_get_username</A
>&nbsp;--&nbsp;
     Get username for connection
    </DT
><DT
><A
HREF="function.ircg-html-encode.html"
>ircg_html_encode</A
>&nbsp;--&nbsp;
     Encodes HTML preserving output
    </DT
><DT
><A
HREF="function.ircg-ignore-add.html"
>ircg_ignore_add</A
>&nbsp;--&nbsp;
     Add a user to your ignore list on a server
    </DT
><DT
><A
HREF="function.ircg-ignore-del.html"
>ircg_ignore_del</A
>&nbsp;--&nbsp;
     Remove a user from your ignore list on a server
    </DT
><DT
><A
HREF="function.ircg-invite.html"
>ircg_invite</A
>&nbsp;--&nbsp;Invites nickname to channel</DT
><DT
><A
HREF="function.ircg-is-conn-alive.html"
>ircg_is_conn_alive</A
>&nbsp;--&nbsp;
     Check connection status
    </DT
><DT
><A
HREF="function.ircg-join.html"
>ircg_join</A
>&nbsp;--&nbsp;
     Join a channel on a connected server
    </DT
><DT
><A
HREF="function.ircg-kick.html"
>ircg_kick</A
>&nbsp;--&nbsp;
     Kick a user out of a channel on server
    </DT
><DT
><A
HREF="function.ircg-list.html"
>ircg_list</A
>&nbsp;--&nbsp;List topic/user count of channel(s)</DT
><DT
><A
HREF="function.ircg-lookup-format-messages.html"
>ircg_lookup_format_messages</A
>&nbsp;--&nbsp;
     Check for the existence of a format message set
    </DT
><DT
><A
HREF="function.ircg-lusers.html"
>ircg_lusers</A
>&nbsp;--&nbsp;IRC network statistics</DT
><DT
><A
HREF="function.ircg-msg.html"
>ircg_msg</A
>&nbsp;--&nbsp;
     Send message to channel or user on server
    </DT
><DT
><A
HREF="function.ircg-names.html"
>ircg_names</A
>&nbsp;--&nbsp;Query visible usernames</DT
><DT
><A
HREF="function.ircg-nick.html"
>ircg_nick</A
>&nbsp;--&nbsp;
     Change nickname on server
    </DT
><DT
><A
HREF="function.ircg-nickname-escape.html"
>ircg_nickname_escape</A
>&nbsp;--&nbsp;
     Encode special characters in nickname to be IRC-compliant 
    </DT
><DT
><A
HREF="function.ircg-nickname-unescape.html"
>ircg_nickname_unescape</A
>&nbsp;--&nbsp;
     Decodes encoded nickname 
    </DT
><DT
><A
HREF="function.ircg-notice.html"
>ircg_notice</A
>&nbsp;--&nbsp;
     Send a notice to a user on server 
    </DT
><DT
><A
HREF="function.ircg-oper.html"
>ircg_oper</A
>&nbsp;--&nbsp;Elevates privileges to IRC OPER</DT
><DT
><A
HREF="function.ircg-part.html"
>ircg_part</A
>&nbsp;--&nbsp;
     Leave a channel on server
    </DT
><DT
><A
HREF="function.ircg-pconnect.html"
>ircg_pconnect</A
>&nbsp;--&nbsp;
     Connect to an IRC server
    </DT
><DT
><A
HREF="function.ircg-register-format-messages.html"
>ircg_register_format_messages</A
>&nbsp;--&nbsp;
     Register a format message set
    </DT
><DT
><A
HREF="function.ircg-set-current.html"
>ircg_set_current</A
>&nbsp;--&nbsp;
     Set current connection for output
    </DT
><DT
><A
HREF="function.ircg-set-file.html"
>ircg_set_file</A
>&nbsp;--&nbsp;
     Set logfile for connection
    </DT
><DT
><A
HREF="function.ircg-set-on-die.html"
>ircg_set_on_die</A
>&nbsp;--&nbsp;
     Set action to be executed when connection dies 
    </DT
><DT
><A
HREF="function.ircg-topic.html"
>ircg_topic</A
>&nbsp;--&nbsp;
     Set topic for channel on server
    </DT
><DT
><A
HREF="function.ircg-who.html"
>ircg_who</A
>&nbsp;--&nbsp;Queries server for WHO information</DT
><DT
><A
HREF="function.ircg-whois.html"
>ircg_whois</A
>&nbsp;--&nbsp;
     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
>