php $fp = fopen("c:\\file1.txt", "r");//open file in read mode echo fgets($fp); fclose($fp); ?> 上面程式碼輸出結果如下- this is first line. PHP讀取檔案- fgetc() ...
確定! 回上一頁