filename = "data.txt";
handle = @fopen(filename, "r");
if (handle){
while (!feof(handle)){
//fgets為每次讀取一列文字
buffer = fgets(handle);
echo buffer . "<br>";
break;
}
}
fclose(handle);

文章標籤
全站熱搜
創作者介紹
創作者 PHP研究工作室 的頭像
PHP研究工作室

PHP教學研究工作室

PHP研究工作室 發表在 痞客邦 留言(0) 人氣(19)