On Wednesday 20 April 2005 06:28, [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 request and think
> itshould happen in the internals ? Let me know if its an insane idea.

Use the autoload extension. 

http://www.php.net/manual/en/language.oop5.autoload.php

Have in mind the exception case when loading an unexisting class definition.

-- 

Cyberly yours,
Petar Nedyalkov
Devoted Orbitel Fan :-)

PGP ID: 7AE45436
PGP Public Key: http://bu.orbitel.bg/pgp/bu.asc
PGP Fingerprint: 7923 8D52 B145 02E8 6F63 8BDA 2D3F 7C0B 7AE4 5436

Attachment: pgp2lkwjnq0m3.pgp
Description: PGP signature

Reply via email to