> > It seems the following is the best option: > > include('classes/help/Search.inc'); > > > > // Inside Search.inc and in the same "package" > > include('OtherClass.inc'); > > include('AnotherClass.inc'); > > > > Is there a better way?
I do pretty much the same thing but with a config.php file. I have in my directory structure a configuration file that will override the current config file settings when the contents changes depending on the requirements of the directory. So in my directory that processes email I have a config.php file that will include the class files necessary for the email functionality. In the admin section I have a config.php file that includes the admin authorization, editing and insertion, and modification class files. I don't know if it's a right way or wrong way.., it just seemed to make sense to do it like that. alex hogan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php