You are here: Re: Error reporting « PHP Programming Language « IT news, forums, messages
Re: Error reporting

Posted by Colin McKinnon on 05/20/06 17:57

scuniverse@gmail.com wrote:

> Any ideas how to make a email report of all the error messages?
>
> I've read on php.net how to do it the problem is that it sends a email
> for each error instead of sending a single email with all the errors.
>

If you implement your error handler in the same PHP thread as the code
throwing the error you'll never have visibility of fatal errors. A better
solution is to configure PHP to log its errors properly then read the log
file. If you don't have access to the config/logfile then your only option
is the error handler route - write your own error handler and set it to
send the file (and reset it) at intervals.

C.

 

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

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