PHP Classes

Classes of Thomas Trautner

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Thomas Trautner (1)  >  Mission progress status  >  Reputation  
Picture of Thomas Trautner
Name: Thomas Trautner <contact>
Classes: 1
Country: Germany Germany
Age: 46
All time rank: Not yet ranked
Week rank: Not yet ranked
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image PHP Error Handler Class  
Output details when a PHP error occurs
This package can output details when a PHP error occurs.

It registers class functions to handle PHP errors, exceptions, and fatal errors.

The error handler functions output HTML to display details of the error, like:

- HTTP response status code

- PHP script execution time

- Memory that was used

- Name of the file and number of the line of the code that triggered the error

- Snippet of the code that triggered the error displayed with syntax highlighting

- Backtrace of the functions that called the code that triggered the error

- HTTP server Name, PHP Version, Operating System, remote user IP address, included files

- Global variables

The package can also log the errors to a file, send email messages to the current site administrator about the errors.

The messages can be translated into multiple languages.

It can also keep track of the number of errors triggered by accesses from users of each IP address and ignore the errors if too many errors were triggered by requests from users of the same IP address.


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z