摘要:
1.直接读取,返回一维数组 如:"test.ini" 的内容:[names]me = Robertyou = Peter[urls]first = "http://www.example.com"second = "http://www.w3school.com.cn" 代码: 结果是:Arra... 阅读全文
摘要:
1.传统的方法 fopen, fclose feof:file、end of file 例子:$file_handle = fopen("c:\\myfile.txt", "r");//使用fopen打开与文件的连接while (!feof($file_handle)) { //使用feo... 阅读全文