Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Run a function on errors/notices?
#1
Not Solved
Is it possible to have a function called when an PHP error or notice came along on the site?

Cause I would like to make a function which sends me the error to my email.


I know how to do this, I only need a way to make a hook on the error/notice.

Best regards,
Mark T.
#2
Not Solved
MyBB already has a mailing facility for the errors. doesn't it work / suffice ?

admin panel >> configuration (settings) >> Server and Optimization Options
-->> Use Error Handling <-- set to On
-->> Error Logging Medium <-- email errors or log and email errors


Forum Jump:


Users browsing this thread: 1 Guest(s)