Login   Register  
PHP Classes
elePHPant
Icontem

File: Samples/sample-invisible-echo.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of mohammadjafar mashhadi  >  Error Logger Class  >  Samples/sample-invisible-echo.php  >  Download  
File: Samples/sample-invisible-echo.php
Role: Example script
Content type: text/plain
Description: Sample - Hidden echo mode
Class: Error Logger Class
Log error messages to files
Author: By
Last change:
Date: 4 years ago
Size: 610 bytes
 

Contents

Class file image Download
<?php
#########################################################################
####                 An example for Error Logger Class               ####
#########################################################################

include "../ErrorLogger.class.php";$err = new ErrorLogger;

$err->__set("logtype"3);

$err->__set("errorpattern""<strong>ERROR:</strong> " date("d F Y H:i") . " : %s");

$err->ErrorLoggerInit();

$err->add_message("HELLO WORLD!");
$err->add_message("THIS IS AN ERROR!!");
$err->add_message("<center><h3>raindigital2007 [at] gmail [dot] com</h3></center>");
?>