PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Cezary Tomczak  >  Error Handler  >  readme.txt  >  Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: Error Handler
Output PHP execution errors information
Author: By
Last change:
Date: 13 years ago
Size: 471 bytes


Class file image Download

Edit "error.tpl" and change variable $showSourceUri (path to "showSource.php")
Include "prepend.php" at the beginning of your script.


example1.html - example of displaying an error
example2.html - example of displaying source of the file where the error appeared

Handler.php - ErrorHandler class
showSource.php - show source of the file, highlights the line where the error appeared
error.tpl - template for displaying errors