JavaScript Editor Javascript debugger     Website design 


ircg_set_current

Set current connection for output (PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)
bool ircg_set_current ( resource connection )

Select the current HTTP connection for output in this execution context. Every output sent from the server connected to by connection will be copied to standard output while using default formatting or a format message set specified by ircg_register_format_messages().

Parameters

connection

A connection resource handle returned by ircg_pconnect().

Return Values

Returns TRUE on success or FALSE on failure.