PHP manual suggests to autoload classes like
function __autoload($class_name){ require_once(\"some_dir/\".$class_name.\".php\"); }
and this a
You could convert the class name like this...
function __autoload($class_name){ $name = strtolower(preg_replace('/([a-z])([A-Z])/', '$1_$2', $class_name)); require_once("some_dir/".$name.".php"); }