You are here: Re: __autoLoad php5 callback is being triggered for every class ? « PHP « IT news, forums, messages
Re: __autoLoad php5 callback is being triggered for every class ?

Posted by Jason Barnett on 04/29/05 16:29

php@electroteque.org wrote:
> I'm experiencing some issues with autoLoad with pear packages. DB_Error is
> contained within the DB.php, but my autoload method is trying to split the
> underscores with forward slashes and then load. Supressing errors with @
> still doesnt work, its triggering a php error. Any ideas ?

Try loading DB before DB_Error because __autoload() only gets called if
a class is not already loaded.

 

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

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