会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
meng之
博客园
首页
新随笔
联系
订阅
管理
2022年1月19日
PHP 按行读取文件内容并截取每行指定字符串之间的内容组成数组
摘要: public function get_file_content(){ // 连接文件并读取内容 dirname(__FILE__): 得到当前文件地址 $contents = file_get_contents(dirname(__FILE__).'/time.php'); // 获取文件编码方式
阅读全文
posted @ 2022-01-19 11:24 meng之
阅读(472)
评论(0)
推荐(0)
编辑
公告