網路函式庫

openlog

(PHP3 , PHP4)

openlog ---  開啟連結到系統記錄者

語法 : int openlog (string ident, int option, int facility)

說明 : 

openlog( )開啟連結到系統記錄者(logger),字串ident是增加到各個訊息。參數option和facility的值是在下一個部份(section)中給予。openlog( )的使用是非必需的,如果必要的話,它會自動地呼叫syslog( ),這種情況下,參數ident將會預設成false。

參考 : syslog( )  closelog( )


上一頁 首頁 下一頁