$filename = "data.txt";$handle = @fopen($filename, "r");if ($handle){ while (!feof($handle)){ //fgets為每次讀取一列文字 $buffer = fgets($handle); echo $buffer . "<br>"; break; }}fclose($handle);
想對外分享這則貼文嗎?運用網址更方便呦~