downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

fam_next_event> <fam_monitor_directory
[edit] Last updated: Fri, 25 May 2012

view this page in

fam_monitor_file

(PHP 5 <= 5.0.5)

fam_monitor_file通常のファイルの変更を監視する

説明

resource fam_monitor_file ( resource $fam , string $filename )

指定した 1 個のファイルの 監視を指示します。このファイルのステータス(すなわち、このファイルに関する 関数 stat() の結果)が変化する度に FAM イベントが 発生します。

発生しうるイベントコードの詳細は、このセクションの 定数 の欄にあります。

パラメータ

fam

fam_open() が返す、 FAM サービスへの接続を表すリソース。

filename

監視するファイルへのパス。

返り値

モニタリングリソース、あるいはエラー時に FALSE を返します。

参考



add a note add a note User Contributed Notes fam_monitor_file
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites