You are here: Re: My error log « PHP Programming Language « IT news, forums, messages
Re: My error log

Posted by AlexVN on 11/01/06 21:59

On Nov 1, 7:04 pm, "Pablito" <pabl...@nospam.com> wrote:
> Hi at all
> still now to write into my server error log I used .htaccess that when
> intercept a server error call a php page that write into my serverlog.txt a
> line containing all datas about current error and after redirect the user to
> an other page.
> Somone tell me that this it is not the best way but the best way is to
> intercept server errors directly ftom php pages
> I 'ld like to know what is truely the best way?
> Regards
> Pab

Read http://php.net/register_shutdown_function and
http://php.net/set_error_handler. I believe, this is exactly what you
need.

Sincerely,
Alexander
http://www.alexatnet.com/ - PHP/ZendFramework/Ajax blog

 

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

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