Bars's homepage  
File Alteration Monitor Functions

XXVII. File Alteration Monitor Functions

Введение

FAM monitors files and directories, notifying interested applications of changes.

A PHP script may specify a list of files for FAM to monitor using the functions provided by this extension.

The FAM process is started when the first connection from any application to it is opened. It exits after all connections to it have been closed.

Замечание: Для Windows-платформ это расширение недоступно.

Требования

This extension requires ... version ... as available on ...

Установка

Настройка во время выполнения

Данное расширение не определяет никакие директивы конфигурации в php.ini.

Типы ресурсов

FAM resource

Предопределенные константы

Перечисленные ниже константы определены данным расширением и могут быть доступны только в том случае, если PHP был собран с поддержкой этого расширения или же в том случае, если данное расширение подгружается во время выполнения.

Таблица 1. FAM constants

Constantmeaning
FAMChanged (integer) The status of
FAMDeleted (integer)  
FAMStartExecuting (integer)  
FAMStopExecuting (integer)  
FAMCreated (integer)  
FAMMoved (integer)  
FAMAcknowledge (integer)  
FAMExists (integer)  
FAMEndExist (integer)  

Содержание
fam_cancel_monitor -- Terminate monitoring
fam_close -- Close FAM connection
fam_monitor_collection -- Monitor a collection of files in a directory for changes
fam_monitor_directory -- Monitor a directory for changes
fam_monitor_file -- Monitor a regular file for changes
fam_next_event -- ...
fam_open -- Open connection to FAM daemon
fam_pending -- Check for pending FAM events
fam_resume_monitor -- Resume suspended monitoring
fam_suspend_monitor -- Temporarily suspend monitoring


Back

оБЮБМП  пВП НОЕ  дПЛХНЕОФБГЙС  жПТХН  рПТФЖПМЙП  рТПЕЛФЩ
 © 2002 Created by Bars