Revision: 3059
Updated Code
at August 9, 2007 14:26 by nicolaspar
Updated Code
<?
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;
}
#Ej
debug('iniciando proceso...');
?>
Revision: 3058
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 30, 2007 12:23 by nicolaspar
Initial Code
<?
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;
}
#Ej
debug('iniciando proceso...');
?>
Initial URL
Initial Description
Initial Title
PHP - Debug in File
Initial Tags
file, debug, error, log
Initial Language
PHP