PHP 1句话写本地LOG PHP file_put_contents("log/log_" . date("Y-m-d") . ".txt", $log, FILE_APPEND); 欢迎转载,转载请注明:转载自[ http://www.cnblogs.com/zjfree/ ]