Forum und email

ircg_set_current

(PHP 4 >= 4.0.4, PHP 5 <= 5.0.5)

ircg_set_current — Set current connection for output

說明

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().

參數

connection

A connection resource handle returned by ircg_pconnect().

Return值

如果成功則回傳 TRUE,失敗則回傳 FALSE