<HTML ><HEAD ><TITLE >ircg_set_current</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK REL="HOME" TITLE="PHP Manual" HREF="index.html"><LINK REL="UP" TITLE="IRC Gateway Functions" HREF="ref.ircg.html"><LINK REL="PREVIOUS" TITLE="ircg_register_format_messages" HREF="function.ircg-register-format-messages.html"><LINK REL="NEXT" TITLE="ircg_set_file" HREF="function.ircg-set-file.html"><META HTTP-EQUIV="Content-type" CONTENT="text/html; charset=ISO-8859-1"></HEAD ><BODY CLASS="refentry" 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 Manual</TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="bottom" ><A HREF="function.ircg-register-format-messages.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="80%" ALIGN="center" VALIGN="bottom" ></TD ><TD WIDTH="10%" ALIGN="right" VALIGN="bottom" ><A HREF="function.ircg-set-file.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><H1 ><A NAME="function.ircg-set-current" ></A >ircg_set_current</H1 ><DIV CLASS="refnamediv" ><A NAME="AEN42155" ></A ><P > (PHP 4 >= 4.0.4)</P >ircg_set_current -- Set current connection for output </DIV ><DIV CLASS="refsect1" ><A NAME="AEN42158" ></A ><H2 >Description</H2 >boolean <B CLASS="methodname" >ircg_set_current</B > ( resource connection)<BR ></BR ><P > Select the current HTTP connection for output in this execution context. Every output sent from the server connected to by <TT CLASS="parameter" ><I >connection</I ></TT > will be copied to standard output while using default formatting or a format message set specified by <A HREF="function.ircg-register-format-messages.html" ><B CLASS="function" >ircg_register_format_messages()</B ></A >. </P ><P > See also: <A HREF="function.ircg-register-format-messages.html" ><B CLASS="function" >ircg_register_format_messages()</B ></A >. </P ></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.ircg-register-format-messages.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="function.ircg-set-file.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >ircg_register_format_messages</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="ref.ircg.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >ircg_set_file</TD ></TR ></TABLE ></DIV ></BODY ></HTML >