opendir() function in php
犟老頭
犟老頭 2020-04-15 03:28:00
0
0
653
为什么下面用$str=opendir("/filename/")打开不文件目录 $str=opendir("/filename/");//而要改成$str=opendir("./filename/")才能打开 if (is_dir($str)){ if ($dh = opendir($str){ while (($file = readdir($dh)) !== false){ echo "filename:" . $file . "
"; } closedir($dh); } }

犟老頭
犟老頭

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!