FMP and PHP5
------------

All PHP5 pages operate under the following conditions: 

1.  The file /var/www/localhost/prepend/fmp_prepend5.inc is prepended to all 
    pages.  This file does the following:

    a.  The include_path is prepended with the directory fmplib off of the
	current DocumentRoot.  Any class definitions, or included/required 
	files will be searched for first in this directory.

    b.  The include_path is appended with the directory
	/var/www/localhost/include.  Any common include files or class 
	definitions can be put here and used from anywhere.  Because this 
	directory is at the end of the include path, any class definition (or 
	require or include statement) will access files in the DocumentRoot or 
	in the fmplib directory off of the DocumentRoot before falling through 
	to this global include directory.

    c.  If the file local.inc exists in the fmplib directory, this file is
	automatically included.

    d.  The function __autoload() is defined such that any file, anywhere in
	the full include_path with the name class.$class_name.inc or 
	class.$class_name.php will be autoloaded when a class with a name of 
	$class_name is instantiated.

For secure files (https), the controling local.inc file is in 
/var/www/localhost/secure/fmplib.  This file parses out the full path to the 
referenced file through the symlink in /var/www/localhost/secure and includes 
the file fmplib/sec_local.inc in the symlinked directory, which may or may not 
be the same as fmplib/local.inc.


Classes and Class Libraries
---------------------------

All classes starting with "fmplib" are functional equivalents of similar 
classes in phplib but are based on PEAR classes.  They can generally be 
substituted as base classes in PHP applications which depend on phplib.
