看板 [ PHP ]
討論串[請益] 關於開某個資料夾下的資料夾裡的檔案?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者buganini (霸格尼尼)時間18年前 (2007/12/17 23:47), 編輯資訊
0
0
0
內容預覽:
function preg_in_array($needle, $haystack){. foreach($haystack as $pcre). if(preg_match($pcre, $needle)). return true;. return false;. }. $ignore=arra
(還有827個字)

推噓1(1推 0噓 1→)留言2則,0人參與, 最新作者yorjing (托兒所嬰兒)時間18年前 (2007/12/17 22:33), 編輯資訊
0
0
0
內容預覽:
<?php. $handle=opendir('.');. echo "Directory handle: $handle\n";. echo "Files:\n";. while ($file = readdir($handle)) {. if(is_dir($file)). {. if($fil
(還有661個字)
首頁
上一頁
1
下一頁
尾頁