any help?

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
toyo
Forum Commoner
Posts: 42
Joined: Thu May 15, 2014 1:27 am

any help?

Post by toyo »

I need to write error 500 handler for php application
this addon will run on ready php 5.3.3 website
it must catch an error data including GET, POST, SESSION, SERVER collections and save it into mysql db.

at the back office will be report with all cached information with delete...... Need some help with this
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: any help?

Post by Christopher »

500 errors will be in the logs. So you just need to regularly search for 500 errors and write them to the database.
(#10850)
toyo
Forum Commoner
Posts: 42
Joined: Thu May 15, 2014 1:27 am

Re: any help?

Post by toyo »

i dint get that explanation. Please clearify, and show me how.. thx
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: any help?

Post by Christopher »

Do you have access to the web server logs? What web server are you using? What tools do you have to access the logs?
(#10850)
Post Reply