Using include() instead of auto_prepend_file=

If you do not want to use auto_prepend_file to load the PHPlib core functionality, you can load the class definitions for the core manually on each page that requires them.

You will have to define a valid include_path= statement in your php3.ini file as outlined previously to reflect the location of the *.inc files. Then, all core functionality can be loaded with include("prepend.php3") as the first statement at the top of each page.

To further optimize performance, you can minimize the contents of the prepend file, if you do not need all core functionality. You may leave out auth.inc, perm.inc and user.inc, if you do not require these features (note that there are dependencies among these classes!).