in multiple scripts. So, the better way is to avoid
and use
instead. If you have written this already, just rename your function to something like
, and in the next, call
as:
function __autoload_my_classes($classname)
{
# ... your logic to include classes here
}
spl_autoload_register('__autoload_my_classes');
?>
By calling it repeatedly with different function names, you can assign multiple functions to
. Be sure to limit your every function to include a CLASS file.
All PHP Scripts on this website are provided by phpscripts4u.com where you can find all the latest PHP code snippets, plugins and libraries.







