PHP Classes

File: test.php

Recommend this page to a friend!
  Classes of adam berger   PHP Error Log   test.php   Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Error Log
Send messages to the PHP error log files or email
Author: By
Last change:
Date: 3 years ago
Size: 510 bytes
 

Contents

Class file image Download
<?php
include("error-logi.class.php");
 
 
$logi = new error_logi($_SERVER);
  
 
$mesage='B??d log przypisujemy np. b??d pdo lub mysql
                    albo b??d logowania'
;
    
$user='Adam ';
    
$html=true;
  
 
## ustawiamy kiedy zapisujey logi uzytkownika ##
   
$logi--->user_logi_save($mesage,$user);
    
$logi->user_logi_email($mesage, $user, $html);
 
 
## ustawiamy kiedy zapisujey logi globalne ##
    
$logi->global_logi_save($mesage);
     
$logi->global_logi_email($mesage, $html);