js读取txt,PHP 读取文件内容代码(txt,js等)

?php /* 作者:bjf; 应用:读取文件内容; */ function read_file_content($FileName) { //open file $fp=fopen($FileName,"r"); $data=""; while(!feof($fp)) { //read the file $data.=fread($fp,4096); } //close the file fcl... [阅读全文]
1 共1条 分1页