__autoload() function
Date: 01/26/07
(PHP Community) Keywords: php
Had some downtime at work today. Figured well, let me edumacate myself a bit. Learned about the __autoload() function in PHP 5.
I keep all my classes in one dir "classes" or sometimes a subdirectory thereof so this function fits like a glove and is now going to be a permanent resident in my config.php file!!!
Bored? It pays to browse php.net during downtime.
Source: http://community.livejournal.com/php/533667.html