标签:
php读取文件
1
2
3
4
5
6
7
8
|
$sourceString = ‘‘ ; $fp = @ fopen ( $filename , "r" ); while ( $line = fgets ( $fp ,1024)) { $sourceString .= $line ; } fclose( $fp ); |
标签:
原文地址:http://www.cnblogs.com/webenh/p/5655732.html