Jump to content

Error codes


canadabeeau

Recommended Posts

Hi all, bit of an interesting question in regards to all the PHP error codes knwo so weel to us :-D

Is there anyway to set PHP to send all error codes to a DB to be stored? or a string that then can be sent to a DB, by error codes I mean all the PHP error codes eg Fata Error has occured on line # of file ###

 

If anyone as any form of a suggestion or know how, please let me know, it would be much appreciated

Link to comment
https://forums.phpfreaks.com/topic/195298-error-codes/
Share on other sites

PHP has it's own error log if this will solve your problem. Check out this information

 

http://www.cyberciti.biz/tips/php-howto-turn-on-error-log-file.html

 

Otherwise you will have to create error handlers for each error where you specify what the error is and save it to the database like you would anything else.

Link to comment
https://forums.phpfreaks.com/topic/195298-error-codes/#findComment-1026305
Share on other sites

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.