Re: Catching all errors and redirecting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thomas Hochstetter wrote:
Hi again,

Is it possible to catch all parser errors (notices), and as that happens
redirecting to a 'sorry-page-not-available-at-this-moment' page, whilst
storing the error (or notice) message somewhere else (e.g. emailing it to
the developer).

thanks

Thomas

From your name I would say you are german speaking, so i would suggest the error_handler example from the book

	Professionelle PHP 5-Programmmierung
	Entwicklerleitfaden für große Webprojekte mit PHP 5
	von George Schlossnagle
	
	erschienen in der Open-Source-Library des Addison-Wesley Verlag
	ISBN: 3-8273-2198-0

Examples to this book [1] can be found under [2], the example to your special problem would be example 3-1.

I'm sorry for writing german, but since it's a german book, i wrote all the facts about the book in german.

Norbert

[1] http://www.addison-wesley.de/main/main.asp?page=deutsch/bookdetails&productid=83009 [2] http://www.awl.de/buecher/3827321980/?SID={FC2DF695-9416-4CE0-8077-877C84150EF1}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux