TotalPHP: Using an autoload function to make your life easier

Courtesy PHPDeveloper.org  Thu, 10/02/2008 - 08:46

On the TotalPHP blog there's a recent post introducing you to a feature in PHP5 that can make life much easier - autoload.

In PHP 5 you can make your life a lot easier by writing an autoload function. This function will automatically load your classes, so you do not need to repeatedly include classes on every page.

Included are examples of it in action - both a simple definition and as...

Tags:

 

Reply

The content of this field is kept private and will not be shown publicly.