web site error tracking

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
skolar
Forum Newbie
Posts: 11
Joined: Mon May 09, 2005 12:36 pm

web site error tracking

Post by skolar »

Does anyone know how best to capture errors that occur on your website. When users come across a bug or something than it logs it somehow and notifies the administrator (me). I know apache has an error log, but that means i have to manually browse through it and find the errors.

I'm looking for something that automatically emails me and/or stores it in a mysql table.

Thanks in advance.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

I've never personally used it, but set_error_handler() sounds just like what you're looking for.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply