php生成gitbook路徑

public function  file_list()
    {
        $path='文件路徑';
        $arr=scandir($path);
        $i=0;
        foreach ($arr as $k=>$v) {
            
            if(strpos($v,'php')==true) {
                echo "| **{$v}** | **wu** |
                "."</br>";
                

            }

            if($i==2) {
                echo "| :--- | :---|"."</br>";
            }
            
            $i++;
        }
    }

內容:
| admin.php | wu |
| :--- | :---|
| attach.php | wu |
| audit.php | wu |
| begin.php | wu |
| content.php | wu |
| download.php | wu |
| downschooldata.php | wu |
| emailrecord.php | wu |
| emailrecord_graduation.php | wu |
| emailrecord_reading.php | wu |
| emailrecord_teacher.php | wu |
| expert_list.php | wu |
| experts.php | wu |
| group.php | wu |
| historydata.php | wu |
| index.php | wu |
| modules.php | wu |
| nianbao.php | wu |
| pro.php | wu |
| province.php | wu |
| school.php | wu |
| school_cailiao.php | wu |
| schooladminstation.php | wu |
| setting.php | wu |
| settype.php | wu |
| tuijian_expert.php | wu |
| upinfo.php | wu |
| upload.php | wu |
| user.php | wu |php

相關文章
相關標籤/搜索