会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
无限REIZ
什么都是学会的。
博客园
首页
新随笔
联系
订阅
管理
2018年7月10日
php txt操作
摘要: //读取 $str = file_get_contents('gjc.txt'); $str_encoding = mb_convert_encoding($str, 'UTF-8', 'UTF-8,GBK,GB2312,BIG5');//转换字符集(编码) $arr = explode("\r\n", $str_encoding);//转换成数组 \r\n必...
阅读全文
posted @ 2018-07-10 11:27 无限REIZ
阅读(257)
评论(0)
推荐(0)
编辑
公告