You are here: Log and Error/Info Message class « PHP Programming Language « IT news, forums, messages
Log and Error/Info Message class

Posted by Angelos on 12/15/05 12:53

Hello,

I would like to develop an independent class that will store Messages,
Warnings and Errors.
Messages and Warnings Will be displayed to the user.
Errors will be loged in a database or/and emailed to the admin.

The part that Interests me at the moment is the messages that will be
displayed to the user.

What is the best practice of doing such a thing ?
Is it correct to store them in a $_SESSION ?

The reason I would like to do that class is because at the moment I
execute a Database Query and then I want to redirect and then display
the message: Succesfull or Not. Otherwise I'll get headers already sent.

Do you know how I can overcome this problem and if what I am thinking is
correct ?

Thanks
Angelos.

 

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

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