Shelley schreef:
Hi all,

Is there any way to auto load a class without using __autoload() function?

As I want to load some classes under different paths, and that caused
redeclare of __autoload function.

Any suggestions appreciated.

spl_autoload_register()

http://php.net/manual/en/function.spl-autoload-register.php

allows you to chain autoloaders




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to