Reply to Re: [PHP] Error Handler

Your name:

Reply:


Posted by Richard Lynch on 04/23/05 01:24

On Fri, April 22, 2005 3:10 pm, Pinoy Ako said:
> I use the example given at http://ph.php.net/manual/en/ref.errorfunc.php
>
> However, when I tried to call an undefined function, I get the normal
> Fatal
> Error message instead of the custom message I entered in the error handler
> function.

As the User Contributed notes indicate, *SOME* PHP errors simply cannot be
trapped by your custom error handler.

This may, or may not, be one of those cases.

Is an undefined function one of the examples? If not, try one of those.

Also, did you remember to call http://php.net/set_error_handler as well as
to define the function?

--
Like Music?
http://l-i-e.com/artists.htm

[Back to original 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

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