在服务端记录日志
最基础的文件读写,(要注意window和linux的换行符,window是 ,linux是 ),这里就写入一个时间。
<?php $handle = fopen('abc.log','ab+'); $time = time(); fwrite($handle,$time." "); fclose($handle);
待续...