Installation

This class require PHP version 4.3.0 or better.

I've test the class using PHP 4.3.0 and PHP 4.3.1, but I think the class should work with PHP 4.2.x, except the function 'register_error_handler'.

Configure the [mail function] section in php.ini if you plan to send the e-mail

If you plan to log the event into some database, define a table as follow (example taken from Mysql):

CREATE TABLE dlog (
id int(10) unsigned NOT NULL auto_increment,
DEvent varchar(14) DEFAULT '0' ,
Errno int(3) DEFAULT '0' ,
Text varchar(250) DEFAULT '0' ,
FileName varchar(250) DEFAULT '0' ,
Line int(3) DEFAULT '0' ,
RemAddr varchar(20) NOT NULL DEFAULT '' ,
Browser varchar(100) NOT NULL DEFAULT '' ,
PRIMARY KEY (id)
);