阅读背景:

使用php显示.txt文件的内容

来源:互联网 

using this code

使用这个代码

<?php
foreach (glob("*.txt") as $filename) {   
    $file = $filename;
    $contents = file($file); 
    $string = implode($contents); 
    echo $string;
    echo "<br></br>";
}
?>
<?php
foreach (glob(



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: