LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 634|回复: 1

文件换行问题[t,\r\n]

[复制链接]
发表于 2005-4-15 20:50:32 | 显示全部楼层 |阅读模式
用fwrite($fp,$data)写时,当$data很大\t,\r\n只会原样输出如循环输出10000遍:127.0.0.1\t00000\ttest\r\n127.0.0.2\t00000\test2\r\n
但如果只写127.0.0.1\t00000\ttest\r\n127.0.0.2\t00000\test2\r\n就没事
换用char(10),char(13)也没问题,
想请教是什么问题。
发表于 2005-4-18 11:29:16 | 显示全部楼层
你是怎么输出的?
估计是输出的方法不对
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表