wepnop Posted February 15, 2011 Share Posted February 15, 2011 I created my own error function. It uses error codes (numeric or strings) to identify the error type in a case. It can have internal and external text and can have some grades of alarm, so it will take the ip of the user if its necessary. Also saves in two error log archives. The system is fine but im thinking about a idea i have seen before: saving all the errors in a array and having a function that check for error count and other that prints all the errors. Why this way is better? Quote Link to comment https://forums.phpfreaks.com/topic/227723-improving-error-system/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.