
1个回答
展开全部
一次性读取最快
可以采用 file_get_contents() 函数
file_get_contents() 函数把整个文件读入一个字符串中。
例子
<?php
echo file_get_contents("test.txt");
?>
望采纳 Thx
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
一次性读取最快
可以采用 file_get_contents() 函数
file_get_contents() 函数把整个文件读入一个字符串中。
例子
<?php
echo file_get_contents("test.txt");
?>
望采纳 Thx
类别
我们会通过消息、邮箱等方式尽快将举报结果通知您。
说明
0/200