您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

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

返回值

如果成功则返回 TRUE,失败则返回 FALSE