			  Library for error processing
				    V2.7
			Copyright (C) 2004 - 2010 Richter

Introduction:
	This is a class (on PHP) for processing of errors.

Main features:
	- processes an errors
	- operates with log of errors
	- sends a messages by E-mail

Using:
	Copy "lib_errors.php" to server and use it.

License agreement:
	This software is freeware, delivered on principle "AS IS"
	Copyright - Richter (richter@wpdom.com)
	Additional information: http://wpdom.com

Requirements:
	PHP 4.1.0+
	Windows or Unix
	Requirements: class "Mail_sender", library "Often Used Functions"

Versions History:
	V2.7	2010-10-03	* Log of errors now clears by size instead of a date.
				+ Log of events now also clears by size.
				+ Function "log_send()" can send both types of logs: errors and events.
				! Function "err_log_send()" renamed to "log_send()".
				! Variable "EP_log_period" renamed to "EP_log_max_size".
				! Format of e-mail letter with log is little changed.
	V2.6	2009-05-09	- Fixed error with new lines (\n, \r) in two functions
	V2.5	2008-02-22	* Server variables is accessed with superglobals now
					(can work with "register_globals = off")
	V2.4	06.02.2007	* Logging now writes IP-address
	V2.3	08.08.2006	+ Function "send_mail()" split to "prepare_letter()", "send_letter()"
	V2.2	13.07.2005	+ Added function for log an event
	V2.1	29.07.2004     	- Error log now really sends by E-mail on
					outflow of specified term
	V2.0	20.07.2004	* Messages now not divides on modules. It now not
					have codes. Library operates straight
					with messages of errors
	V1.0.1	01.05.2004	* "chmod" now calls as "@chmod"
	V1.0	01.04.2004	This is first release