盾怪网教程:是一个免费提供流行杀毒软件教程、在线学习分享的学习平台!

10分好的目录导航文件代码

时间:2025/1/1作者:未知来源:盾怪网教程人气:

[摘要]"; //管道符 //通过以下的循环搜索目录中所有文件 while (current = files->read()) //ignor all files not of ...
";    //管道符
//通过以下的循环搜索目录中所有文件
while ($current = $files->read()) {
  //ignor all files not of htm type.
   if (strpos($current, "php")!= FALSE)  //设定后缀为PHP的文件将被导航
       //忽略自己(如 index.html)
      {   if (strpos($current, "ndex") == FALSE)
          {
          print "<a href='";
          print $current;
          print "'>";
          print $current;
          print "</a>";
          print $pipe;
          };  
      };
      };
      };
navbar() //调用函数
?>


关键词:10分好的目录导航文件代码




Copyright © 2012-2018 盾怪网教程(http://www.dunguai.com) .All Rights Reserved 网站地图 友情链接

免责声明:本站资源均来自互联网收集 如有侵犯到您利益的地方请及时联系管理删除,敬请见谅!

QQ:1006262270   邮箱:kfyvi376850063@126.com   手机版