Saturday, 27 June 2015

Error Log in php


You can make a new Log file, different original linux error file. 
If not can look Ajax or hidden procedures. Better than mail send in yourself.
 
<?php 
error_log(date("Y.m.d H:i:s")."- path/filename - error in ... ".$error."  anything messages: " . mysql_error()."az sql: ".$sql."\n", 3, "tmp/php.log");
?> 

0 comments:

Post a Comment