Image

Imagegamesociety wrote in Imagephp

__autoload() function

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.