ps:fwrite 是沒有加換行字元,如果要換行必須加上\n 處理. 2.file_put_contents. <?php $handle = 'open_file.txt'; $current_line = "line1\n";
確定! 回上一頁