看板
[ PHP ]
討論串[請益] 關於開某個資料夾下的資料夾裡的檔案?
共 2 篇文章
首頁
上一頁
1
下一頁
尾頁
內容預覽:
function preg_in_array($needle, $haystack){. foreach($haystack as $pcre). if(preg_match($pcre, $needle)). return true;. return false;. }. $ignore=arra
(還有827個字)
內容預覽:
<?php. $handle=opendir('.');. echo "Directory handle: $handle\n";. echo "Files:\n";. while ($file = readdir($handle)) {. if(is_dir($file)). {. if($fil
(還有661個字)
首頁
上一頁
1
下一頁
尾頁