>Have you considered simply using require_once? Yes, actually I'm using it now, but it's not enough.
>Also, you can find out if a class was defined by calling >'class_exists()'. In this way you might save something. >The best way thought is what Miguel was saying: load the files >conditionally with a logic. That's what I'm trying to do, but still searching for the logic. But as I see, there's no better way of doing this other than checking if the needed classes are defined before every instantiation. Thanks for your help, Arpi -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php