[PHP] Re: dynamic class loaders

2005-04-20 Thread Markus Fischer
[EMAIL PROTECTED] wrote: Hi there i was wondering if there is such an extension available or possbility to have a dynamicclass loader extension which would use the request_uri as loading the class constructors ? I justthink building such a thing in php which is what i am doing too slow for each

Re: [PHP] Re: dynamic class loaders

2005-04-20 Thread Dan Rossi
Thanks this seemed to work except say you had a class Packagename_Classname its trying to load the file like that Packagename_Classname.php On 20/04/2005, at 4:23 PM, Markus Fischer wrote: [EMAIL PROTECTED] wrote: Hi there i was wondering if there is such an extension available or possbility to

Re: [PHP] Re: dynamic class loaders

2005-04-20 Thread Markus Fischer
Dan Rossi wrote: 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/)