PHP Tutorial: Error Logging [part 03]

preview_player
Показать описание

In this part I show you how to create the admin page that lists the errors that have happened.
Рекомендации по теме
Комментарии
Автор

The only thing I would say you should add to this is a quick check to make sure the same error is not logged twice. This is more for the people using it on a free/very cheap host to ensure someone does not fill the database up by holding down refresh. Nice tutorial, and I will definitely be implementing something along the same lines. Thank you.

darkmaster
Автор

@darkmaster539 flood control is something anything that uses a database should have but in this case the user would not know that they are causing anything to do to the db so has no motivation to hold down refresh. Also you may want to know which errors occur most often, I guess adding a count column would be a good idea. But generally I leave out flood control for simplicity, I may do a specific video on it.

betterphp
welcome to shbcf.ru