__autoload not being acknowledged on live server?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
St8ic
Forum Newbie
Posts: 16
Joined: Thu Dec 09, 2004 10:40 pm

__autoload not being acknowledged on live server?

Post by St8ic »

For some reason, my hosted site does not recognize my __autoload function in php. This is obviously causing issues. I tried to var_dump(spl_autoload_functions()) to get a list of registered autoload functions, but this was undefined.

It all works fine in my dev environment. PHP versions are similar. SPL available functions in phpinfo() look similar as well. Any ideas?

Thanks!

edit: phpinfo here: http://mrpaik.asmallorange.com/phpinfo.php
St8ic
Forum Newbie
Posts: 16
Joined: Thu Dec 09, 2004 10:40 pm

Re: __autoload not being acknowledged on live server?

Post by St8ic »

resolved - server was running in PHP3 mode instead of PHP5
Post Reply