//$file:文件路径,$content要写入的字符串 function put_to_file($file, $content) { $fopen = fopen($file, 'wb'); if (!$fopen) { return false; } fwrite($fopen, $content); fclose($fopen); return true; }
//$file:文件路径,$content要写入的字符串 function put_to_file($file, $content) { $fopen = fopen($file, 'wb'); if (!$fopen) { return false; } fwrite($fopen, $content); fclose($fopen); return true; }
除特别声明外,主题OL的一切文章或资源都是本站原创,转载时请注明出处和链接。
还没有评论,快来说点什么吧~