Forum und email

ircg_set_file

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

ircg_set_file — Set logfile for connection

說明

bool ircg_set_file ( resource $connection , string $path )

ircg_set_file() specifies a logfile in which all output from the current connection will be logged.

參數

connection

A connection resource handle returned by ircg_pconnect().

path

Path to the logfile.

Return值

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