read()){
if($d == "." || $d == ".."){
continue;
}
if(filetype($dir.$d) == "dir"){
printJpg($dir.$d."/",$deep."--");
}
if(mime_content_type($dir.$d) == "image/jpeg"){
echo $deep.$d."
";
}
}
}
printJpg($dir);这个函数在我本地运行的时候回超时,可能是我本地图片有点多,好几十G图片。
上一篇:如何实现微信第三方登录demo
下一篇:有哪几种PHP注册表模式