You are here: Re: [PHP] Re: dynamic class loaders « PHP « IT news, forums, messages
Re: [PHP] Re: dynamic class loaders

Posted by Dan Rossi on 04/20/05 09:53

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:

> php@electroteque.org 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 request and think itshould happen in the internals ? Let me know
>> if its an insane idea.
>
> PHP5 provides autoload, see
> http://at2.php.net/manual/en/language.oop5.autoload.php for details.
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация