Simple Logfile

$handle = fopen('./mylog.log', 'a');
fwrite($handle, "test");
fclose($handle);

source

Leave a Reply