Dexter
Dexter

Reputation: 3122

Send Errors in PHP via E-Mail

I just discovered that PHP offers a function set_error_handler and was wondering if I could use this to have errors sent to me by mail rather displaying them on-page.

But would there be any point to using set_error_handler? Since E_ERROR won't be caught by that.

Or is there perhaps even a library that already does what I'm trying to do here?

Thanks!

Upvotes: 2

Views: 91

Answers (1)

Related Questions