Our source is open
The syntax highlighted source is automatically generated by PHP from
the plaintext script.
If you're interested in what's behind the several functions we
used, you can always take a look at the source of the following files:
Of course, if you want to see the source
of this page, we have it available.
You can also browse the SVN repository for this website on
svn.php.net.
Source of: /manual/en/book.fam.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.remote.other.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.fam.php',
1 => 'FAM',
),
'up' =>
array (
0 => 'refs.remote.other.php',
1 => 'Other Services',
),
'prev' =>
array (
0 => 'function.curl-version.php',
1 => 'curl_version',
),
'next' =>
array (
0 => 'intro.fam.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">File Alteration Monitor</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.fam.php">Introduction</a></li><li><a href="fam.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="fam.requirements.php">Requirements</a></li><li><a href="fam.installation.php">Installation</a></li><li><a href="fam.configuration.php">Runtime Configuration</a></li><li><a href="fam.resources.php">Resource Types</a></li></ul></li><li><a href="fam.constants.php">Predefined Constants</a></li><li><a href="ref.fam.php">FAM Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.fam-cancel-monitor.php">fam_cancel_monitor</a> — Terminate monitoring</li><li><a href="function.fam-close.php">fam_close</a> — Close FAM connection</li><li><a href="function.fam-monitor-collection.php">fam_monitor_collection</a> — Monitor a collection of files in a directory for changes</li><li><a href="function.fam-monitor-directory.php">fam_monitor_directory</a> — Monitor a directory for changes</li><li><a href="function.fam-monitor-file.php">fam_monitor_file</a> — Monitor a regular file for changes</li><li><a href="function.fam-next-event.php">fam_next_event</a> — Get next pending FAM event</li><li><a href="function.fam-open.php">fam_open</a> — Open connection to FAM daemon</li><li><a href="function.fam-pending.php">fam_pending</a> — Check for pending FAM events</li><li><a href="function.fam-resume-monitor.php">fam_resume_monitor</a> — Resume suspended monitoring</li><li><a href="function.fam-suspend-monitor.php">fam_suspend_monitor</a> — Temporarily suspend monitoring</li></ul></li></ul></div><?php manual_footer(); ?>