advanced code snippet search
nicolaspar on 05/30/07
file debug error save log archivo guardar
08/09/07 02:26pm05/30/07 12:23pm
2 people have marked this snippet as a favorite
vali29gordoyuri
<?define('PATH', dirname(realpath(__FILE__)) );function debug($texto){ file_put_contents(PATH.'/log.log',date('d/m/Y H:i:s').' - '.$texto."",FILE_APPEND); echo date('d/m/Y H:i:s').' - '.$texto."<br>"; flush(); return;}#Ejdebug('iniciando proceso...');?>
Report this snippet Tweet
Comment:
You need to login to post a comment.