Jump to content

[SOLVED] PHP Error Reporting


emotionlovesyou

Recommended Posts

I need to know whenever there's an error in PHP on my website, http://www.CozySidewalkCafe.com. (If I coded something wrong and users can't use something, I need to fix it asap.)

 

Is there something I can setup in the PHP installation so I get an email whenever there's an error? Or can I setup some sort of log I can check periodically?

 

Any tips, ideas, or tutorials you know of would be greatly appreciated! Thnx

Link to comment
https://forums.phpfreaks.com/topic/99817-solved-php-error-reporting/
Share on other sites

Never mind.

 

Set_error_handler was the answer I was looking for. I just looked around the internet and found it. Thanks anyway, guys!

 

I can write my own function and use set_error_handler to call that function every time there's an error. The custome function can send an email or keep a log. Fabulous! I luv PHP

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.