php生成工做日志

$fp=fopen("log.txt","a"); $str=date("Y-m-d H:i:s")."\r\n"; fputs($fp,$str); fclose($fp);
相关文章
相关标签/搜索