News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

TotalPHP:
Using an autoload function to make your life easier
October 02, 2008 @ 08:46:59

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 it might be used in an application to conditionally load a class from multiple locations.

0 comments voice your opinion now!
autoload function php5 load class


blog comments powered by Disqus

Similar Posts

Community News: Training Class for SOAP/WS-Security in the Enterprise

Nessa's Blog: Working with Permissions in PHP

Gergely Hodicska's Blog: What is new in PHP 5.3 - part 3: mysqlnd

Adam Trachtenberg's Blog: PHP 5 + COM + Skype Help Wanted

PHPKitchen: Using the latest PHP 5 and AJAX technology


Community Events





Don't see your event here?
Let us know!


conference api deployment symfony community voicesoftheelephpant interview bugfix zendserver series framework tips developer library list laravel introduction language release podcast

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework