摘要: php逐行读取txt文件内容ReadTxt.php文件<?php$handle = @fopen("./cont.txt", "r");$arr = array();if ($handle) { while (!feof($handle)) { $item = fgets($handle, 4096); $arr[] = $item; } fclose($handle); header("Content-type:text/html;charset=utf-8"); echo"<pre>"; pr 阅读全文
posted @ 2013-02-28 20:52 我叫龙弟弟 阅读(4910) 评论(0) 推荐(0)