Thanks this seemed to work except say you had a class Packagename_Classname
its trying to load the file like that Packagename_Classname.php
Well, you can put whatever logic you need into the autoload function. It's up to you.
HTH
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php